mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
add debug tests
This commit is contained in:
parent
81633d930f
commit
f37cb3ac2b
12
.vscode/launch.json
vendored
12
.vscode/launch.json
vendored
@ -141,6 +141,18 @@
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"type": "pwa-node"
|
||||
},
|
||||
{
|
||||
"name": "CommonServer: Debug Tests",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceRoot}/CommonServer",
|
||||
"runtimeExecutable": "npm",
|
||||
"runtimeArgs": [
|
||||
"run-script",
|
||||
"debug:test"
|
||||
],
|
||||
"port": 9229
|
||||
}
|
||||
]
|
||||
}
|
@ -5,7 +5,8 @@
|
||||
"main": "index.ts",
|
||||
"scripts": {
|
||||
"compile": "tsc",
|
||||
"test": "jest ./Tests"
|
||||
"test": "jest ./Tests",
|
||||
"debug:test": "node --inspect node_modules/.bin/jest --runInBand ./Tests"
|
||||
},
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
|
Loading…
Reference in New Issue
Block a user