mirror of
https://github.com/twentyhq/twenty
synced 2026-04-21 13:37:22 +00:00
Unit test back vscode task (#17583)
Jest extension being flaky it's sometimes a pain to run opened test only
This commit is contained in:
parent
f46da3eefd
commit
5791bd2943
1 changed files with 22 additions and 0 deletions
22
.vscode/tasks.json
vendored
22
.vscode/tasks.json
vendored
|
|
@ -22,6 +22,28 @@
|
|||
"close": false
|
||||
},
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "twenty-server - run unit test file",
|
||||
"type": "shell",
|
||||
"command": "npx nx run twenty-server:jest -- --config ./jest.config.mjs ${relativeFile} --silent=false ${input:watchMode} ${input:updateSnapshot}",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/packages/twenty-server",
|
||||
"env": {
|
||||
"NODE_ENV": "test",
|
||||
"NODE_OPTIONS": "--max-old-space-size=12288 --import tsx/esm"
|
||||
},
|
||||
"shell": {
|
||||
"executable": "/bin/zsh",
|
||||
"args": ["-l", "-c"]
|
||||
}
|
||||
},
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "new",
|
||||
"close": false
|
||||
},
|
||||
"problemMatcher": []
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue