mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
47 lines
1.1 KiB
JSON
47 lines
1.1 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",
|
|
"inputs": [
|
|
{
|
|
"type": "pickString",
|
|
"id": "suit",
|
|
"description": "Which test suit to run?",
|
|
"options": [
|
|
"chrome-headless",
|
|
"chrome-headful",
|
|
"chrome-headless-shell",
|
|
"firefox-headless",
|
|
"firefox-headful",
|
|
"firefox-bidi",
|
|
"chrome-bidi"
|
|
],
|
|
"default": "chrome-headless"
|
|
}
|
|
],
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch Tests",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"runtimeExecutable": "npm",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeArgs": [
|
|
"run-script",
|
|
"test",
|
|
"--",
|
|
"--test-suite",
|
|
"${input:suit}",
|
|
"--no-coverage",
|
|
"--no-suggestions"
|
|
],
|
|
"outFiles": ["${workspaceFolder}/**/*.js"],
|
|
"env": {
|
|
"DEBUGGER_ATTACHED": true
|
|
}
|
|
}
|
|
]
|
|
}
|