Files
stockfill/.vscode/launch.json
T
beatzaplenty 6192bd20eb modified: .gitignore
modified:   .vscode/launch.json
	new file:   e2e/playwright-collect-coverage.spec.ts
	modified:   package-lock.json
	modified:   package.json
	modified:   playwright.config.ts
	new file:   scripts/merge-lcov.cjs
	new file:   scripts/normalize-lcov.cjs
	new file:   scripts/playwright-collect-coverage.cjs
	new file:   scripts/remap-and-report.cjs
	modified:   vite.config.ts
	new file:   vitest.config.ts
2025-12-02 16:14:12 +10:00

51 lines
1.2 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Vite Dev Server",
"type": "node-terminal",
"request": "launch",
"command": "npm run dev",
"cwd": "${workspaceFolder}"
},
{
"name": "Launch Preview (Test) Server",
"type": "node-terminal",
"request": "launch",
"command": "npm run test",
"cwd": "${workspaceFolder}"
},
{
"name": "Playwright Tests",
"type": "node-terminal",
"request": "launch",
"command": "npm run test:e2e",
"cwd": "${workspaceFolder}",
// "env": {
// "CHROME_PATH": "<path to flatpak chrome wrapper>"
// }
},
{
"name": "Unit Test Coverage",
"type": "node-terminal",
"request": "launch",
"command": "npm run test:coverage",
"cwd": "${workspaceFolder}"
},
{
"name": "Lint and Build",
"type": "node-terminal",
"request": "launch",
"command": "npx tsc -noEmit && npm run build",
"cwd": "${workspaceFolder}"
},
{
"name": "Full CI Coverage test",
"type": "node-terminal",
"request": "launch",
"command": "npm run coverage:ci",
"cwd": "${workspaceFolder}"
}
]
}