mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-06 15:26:34 +02:00
chore: add mocha tests launch configuration (#5609)
* chore: add mocha tests launch configuration * fix: Use Prettier code style
This commit is contained in:
18
.vscode/launch.json
vendored
18
.vscode/launch.json
vendored
@@ -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",
|
||||
|
Reference in New Issue
Block a user