Skip to content

Commit

Permalink
test: Add unit tests. #1597
Browse files Browse the repository at this point in the history
  • Loading branch information
mturoci committed Nov 3, 2022
1 parent 4f84d42 commit 5ec17cd
Show file tree
Hide file tree
Showing 3 changed files with 405 additions and 19 deletions.
33 changes: 16 additions & 17 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@
"url": "http://localhost:3000/demo",
"webRoot": "${workspaceFolder}/ui"
},
{
"name": "Debug UI Tests",
"type": "node",
"request": "launch",
"runtimeExecutable": "node",
"program": "${workspaceRoot}/ui/node_modules/jest/bin/jest.js",
"args": [
"--no-cache",
"--env=jsdom",
"${file}"
],
"cwd": "${workspaceRoot}/ui",
"protocol": "inspector",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"name": "Debug PY Build",
"type": "python",
Expand Down Expand Up @@ -69,23 +85,6 @@
"python": "${workspaceFolder}/tools/showcase/venv/bin/python",
"console": "integratedTerminal",
},
{
"name": "Debug UI Tests",
"type": "node",
"request": "launch",
"runtimeExecutable": "node",
"program": "${workspaceRoot}/ui/node_modules/jest/bin/jest.js",
"args": [
"--watch",
"--runInBand",
"--no-cache",
"--env=jsdom"
],
"cwd": "${workspaceRoot}/ui",
"protocol": "inspector",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
Expand Down
Loading

0 comments on commit 5ec17cd

Please sign in to comment.