forked from GitHub/virtualtabletop
added "npm run test-debug" that makes it possible to attach the Gitpod debugger to the automated tests
This commit is contained in:
parent
92d977fa40
commit
630c846f72
@ -8,3 +8,6 @@ ports:
|
||||
- port: 9229
|
||||
visibility: private
|
||||
onOpen: ignore
|
||||
- port: 9239
|
||||
visibility: private
|
||||
onOpen: ignore
|
||||
|
@ -6,6 +6,12 @@
|
||||
"request": "attach",
|
||||
"name": "Attach",
|
||||
"port": 9229
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"name": "Attach Test",
|
||||
"port": 9239
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -10,6 +10,7 @@
|
||||
"debug": "cross-env NOCOMPRESS=1 nodemon -e js,mjs,css,html --ignore save --ignore coverage --ignore tests --inspect server.mjs",
|
||||
"start": "node server.mjs",
|
||||
"test": "node --experimental-vm-modules node_modules/.bin/jest --coverage",
|
||||
"test-debug": "node --experimental-vm-modules --inspect-brk=9239 node_modules/.bin/jest",
|
||||
"test-cont": "nodemon -e js,mjs,css,html --ignore save --ignore coverage --experimental-vm-modules node_modules/.bin/jest"
|
||||
},
|
||||
"repository": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user