Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
use jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Dickey committed May 10, 2017
1 parent f38664d commit 310aa52
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
12 changes: 12 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
process.env.CI = 'true'
module.exports = {
testEnvironment: 'node',
rootDir: 'src',
coveragePathIgnorePatterns: [
'src/linewrap.js'
],
setupFiles: [
'../test/init.js'
],
runInBand: true
}
10 changes: 0 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@
"yarn"
],
"homepage": "https://github.com/heroku/cli-engine",
"jest": {
"testEnvironment": "node",
"rootDir": "./src",
"coveragePathIgnorePatterns": [
"src/linewrap.js"
],
"setupFiles": [
"../test/init.js"
]
},
"keywords": [
"cli"
],
Expand Down
1 change: 1 addition & 0 deletions test/init.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import nock from 'nock'
process.env.CI = 'true'

nock.disableNetConnect()

0 comments on commit 310aa52

Please sign in to comment.