Skip to content

Commit

Permalink
Trying to fix debugging
Browse files Browse the repository at this point in the history
Debugging Jest is still broken. See
facebook/create-react-app#2041
  • Loading branch information
Lance Fisher committed Jun 1, 2017
1 parent fd42224 commit 9e30c22
Show file tree
Hide file tree
Showing 3 changed files with 985 additions and 807 deletions.
6 changes: 4 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"name": "Debug Tests",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
// "program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"protocol": "inspector",
"program": "${workspaceRoot}/node_modules/.bin/jest",
"stopOnEntry": false,
"args": [
"--config", "jest.json"
"--runInBand"
],
"cwd": "${workspaceRoot}",
"runtimeExecutable": "babel-node",
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@
"build": "webpack --config webpack.config.js"
},
"devDependencies": {
"babel-core": "^6.23.1",
"babel-loader": "^6.3.2",
"babel-preset-env": "^1.2.0",
"babel-preset-es2015": "^6.22.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.9.0",
"jest": "^19.0.2",
"jest": "^20.0.4",
"webpack": "^2.2.1"
},
"dependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-loader": "^7.0.0",
"babel-preset-env": "^1.5.1",
"babel-preset-es2015": "^6.24.1",
"eslint": "^3.15.0",
"eslint-config-airbnb": "^14.1.0"
}
Expand Down
Loading

0 comments on commit 9e30c22

Please sign in to comment.