Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerhut committed Aug 6, 2018
1 parent c497980 commit 7833dd7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
coverage
__fixtures__
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
testEnvironment: 'node'
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Transform `process.env.FIELD` into environment variables with dotenv.",
"main": "index.js",
"scripts": {
"pretest": "eslint *.js",
"pretest": "eslint .",
"test": "jest",
"posttest": "jest --coverage"
},
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-env mocha */
/* eslint-env jest */

const pluginTester = require('babel-plugin-tester')

Expand Down

0 comments on commit 7833dd7

Please sign in to comment.