Skip to content

Commit

Permalink
chore: add mocha tests launch configuration (#5609)
Browse files Browse the repository at this point in the history
* chore: add mocha tests launch configuration

* fix: Use Prettier code style
  • Loading branch information
lujunji4113 committed Feb 26, 2024
1 parent 528e164 commit 2fba2d9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"args": [
"mocha",
"--require",
"${workspaceFolder}/config/babel/register.cjs",
"${workspaceFolder}/packages/{slate,slate-history,slate-hyperscript}/test/**/*.{js,ts}",
"--grep",
"${fileBasenameNoExtension}",
"--timeout",
"999999"
],
"internalConsoleOptions": "openOnSessionStart",
"name": "Mocha Tests",
"program": "${workspaceFolder}/.yarn/releases/yarn-4.0.2.cjs",
"request": "launch",
"skipFiles": ["<node_internals>/**"],
"type": "node"
},
{
"type": "firefox",
"request": "launch",
Expand Down

0 comments on commit 2fba2d9

Please sign in to comment.