Skip to content

Commit

Permalink
Using tests without babel (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
dolezel authored Jun 29, 2018
1 parent 2084852 commit b3ee05a
Show file tree
Hide file tree
Showing 11 changed files with 187 additions and 208 deletions.
6 changes: 4 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"node": 6
}
}
],
"stage-3"
]
],
"plugins": [
"babel-plugin-transform-object-rest-spread"
],
"env": {
"test": {
Expand Down
6 changes: 3 additions & 3 deletions mocha.bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import chai from "chai";
import sinonChai from "sinon-chai";
import chaiAsPromised from "chai-as-promised";
const chai = require("chai");
const sinonChai = require("sinon-chai");
const chaiAsPromised = require("chai-as-promised");

chai.use(sinonChai);
chai.use(chaiAsPromised);
1 change: 0 additions & 1 deletion mocha.opts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
--compilers js:babel-core/register
--require ./mocha.bootstrap.js
Loading

0 comments on commit b3ee05a

Please sign in to comment.