Skip to content

Commit

Permalink
Merge branch 'more-tests' into lolasd123
Browse files Browse the repository at this point in the history
  • Loading branch information
ArktinenKarpalo committed Jul 28, 2024
2 parents 122bd84 + cb92376 commit b9942b1
Show file tree
Hide file tree
Showing 24 changed files with 1,634 additions and 267 deletions.
44 changes: 10 additions & 34 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,44 +7,20 @@
{
"type": "node",
"request": "launch",
"name": "Mocha test all",
"runtimeExecutable": "docker-compose",
"runtimeArgs": [
"run",
"-p",
"9229:9229",
"rv-backend",
"node_modules/.bin/mocha",
"--inspect-brk=0.0.0.0:9229",
"--colors",
"--exit",
"test"
],
"port": 9229,
"timeout": 20000,
"remoteRoot": "/usr/src/app",
"localRoot": "${workspaceFolder}"
"name": "Test all",
"runtimeExecutable": "sh",
"runtimeArgs": ["-c", ". test/test.env && node --test test/"],
"localRoot": "${workspaceFolder}",
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Mocha test current file",
"runtimeExecutable": "docker-compose",
"runtimeArgs": [
"run",
"-p",
"9229:9229",
"rv-backend",
"node_modules/.bin/mocha",
"--inspect-brk=0.0.0.0:9229",
"--colors",
"--exit",
"${relativeFile}"
],
"port": 9229,
"timeout": 20000,
"remoteRoot": "/usr/src/app",
"localRoot": "${workspaceFolder}"
"name": "Test current file",
"runtimeExecutable": "sh",
"runtimeArgs": ["-c", ". test/test.env && node --test ${relativeFile}"],
"localRoot": "${workspaceFolder}",
"console": "integratedTerminal"
}
]
}
Loading

0 comments on commit b9942b1

Please sign in to comment.