Skip to content

Commit 6e2b070

Browse files
committed
test: wip
1 parent 0787932 commit 6e2b070

File tree

5 files changed

+5995
-200
lines changed

5 files changed

+5995
-200
lines changed

.vscode/launch.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"address": "0.0.0.0",
9+
"type": "node",
10+
"request": "attach",
11+
"name": "Routing Controller",
12+
"restart": true,
13+
"port": 20001,
14+
"remoteRoot": "/home/nodebrick/application",
15+
"localRoot": "${workspaceFolder}",
16+
}
17+
]
18+
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"lint:check": "eslint --max-warnings 0 --ext .ts src/",
3636
"test": "jest --coverage --verbose",
3737
"test:watch": "jest --watch",
38-
"test:ci": "jest --runInBand --no-cache --coverage --verbose"
38+
"test:ci": "jest --runInBand --no-cache --coverage --verbose",
39+
"test:debug": "NODE_ENV= node --inspect=0.0.0.0:20001 ./node_modules/.bin/jest --colors --runInBand --no-coverage --watch"
3940
},
4041
"dependencies": {
4142
"cookie": "^0.4.0",
@@ -85,6 +86,7 @@
8586
"rimraf": "3.0.2",
8687
"ts-jest": "^26.1.4",
8788
"ts-node": "^8.10.2",
89+
"ts-node-dev": "1.0.0-pre.44",
8890
"tslint": "^6.1.2",
8991
"typedi": "~0.8.0",
9092
"typescript": "^3.9.7"

0 commit comments

Comments
 (0)