Skip to content

Commit

Permalink
New: Jest environment (fixes #3212)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darshak Parikh committed Jul 31, 2015
1 parent 3cbc5b6 commit c9b7096
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions conf/environments.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ module.exports = {
jasmine: {
globals: globals.jasmine
},
jest: {
globals: globals.jest
},
phantomjs: {
globals: globals.phantomjs
},
Expand Down
1 change: 1 addition & 0 deletions docs/user-guide/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ An environment defines global variables that are predefined. The available envir
* `amd` - defines `require()` and `define()` as global variables as per the [amd](https://github.com/amdjs/amdjs-api/wiki/AMD) spec.
* `mocha` - adds all of the Mocha testing global variables.
* `jasmine` - adds all of the Jasmine testing global variables for version 1.3 and 2.0.
* `jest` - Jest global variables.
* `phantomjs` - PhantomJS global variables.
* `qunit` - QUnit global variables.
* `jquery` - jQuery global variables.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"espree": "^2.2.0",
"estraverse": "^4.1.0",
"estraverse-fb": "^1.3.1",
"globals": "^8.2.0",
"globals": "^8.3.0",
"inquirer": "^0.8.2",
"is-my-json-valid": "^2.10.0",
"js-yaml": "^3.2.5",
Expand Down

0 comments on commit c9b7096

Please sign in to comment.