1
0
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:
Julian Lu
2024-02-27 00:40:07 +08:00
committed by GitHub
parent 528e164b55
commit 2fba2d93a1

18
.vscode/launch.json vendored
View File

@@ -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",