mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Run unit tests",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": ["run", "test:jest"],
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Run current test file",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": ["run", "test:jest", "--"],
|
|
"args": ["-i", "${relativeFile}", "--testPathIgnorePatterns"],
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Run selected test name",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": ["run", "test:jest", "--"],
|
|
"args": [
|
|
"-i",
|
|
"${relativeFile}",
|
|
"-t",
|
|
"${selectedText}",
|
|
"--testPathIgnorePatterns"
|
|
],
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Update current test file snapshot(s)",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": ["run", "test:jest", "--"],
|
|
"args": [
|
|
"-i",
|
|
"${relativeFile}",
|
|
"--updateSnapshot",
|
|
"--testPathIgnorePatterns"
|
|
],
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Update selected test name snapshot(s)",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": ["run", "test:jest", "--"],
|
|
"args": [
|
|
"-i",
|
|
"${relativeFile}",
|
|
"-t",
|
|
"${selectedText}",
|
|
"--updateSnapshot",
|
|
"--testPathIgnorePatterns"
|
|
],
|
|
"console": "integratedTerminal"
|
|
}
|
|
]
|
|
}
|