[UPDATED] jest vs code debug file

[REMOVED] unused gitignore
[UPDATED] header image
This commit is contained in:
Weilin Shi 2017-08-09 16:11:20 +08:00
parent 1343a85439
commit 445707c4e8
6 changed files with 16 additions and 8 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
/node_modules
/svg-test

18
.vscode/launch.json vendored
View File

@ -5,16 +5,20 @@
"version": "0.2.0",
"configurations": [
{
"name": "Jest Tests",
"type": "node",
"request": "launch",
"name": "Mocha Tests",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"args": [
"--colors",
"${workspaceRoot}/test/test.js"
"runtimeArgs": [
"--inspect-brk",
"./node_modules/jest/bin/jest.js",
"-i",
"--env",
"jest-environment-node-debug"
],
"internalConsoleOptions": "openOnSessionStart",
"protocol": "inspector"
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"console": "integratedTerminal",
"sourceMaps": true
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

View File

@ -36,6 +36,7 @@
},
"devDependencies": {
"jest": "^20.0.4",
"jest-environment-node-debug": "^2.0.0",
"xo": "^0.18.2"
},
"xo": {

View File

@ -1808,6 +1808,10 @@ jest-environment-jsdom@^20.0.3:
jest-util "^20.0.3"
jsdom "^9.12.0"
jest-environment-node-debug@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/jest-environment-node-debug/-/jest-environment-node-debug-2.0.0.tgz#5ef098942fec1b6af5ee4841f4f8a2ff419562f9"
jest-environment-node@^20.0.3:
version "20.0.3"
resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-20.0.3.tgz#d488bc4612af2c246e986e8ae7671a099163d403"