You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command: pnpm run test:debug -- --match="simplify-union" (will provide package.json, so you know what this resolves to) fails with error "Provide the path to the test file you wish to debug", but, pnpm run test -- --match="simplify-union" works without issue.
As such, I cannot specify a test name when running tests in debug mode.
Here is the relevant part of my package.json. The build, test:prep, and clear-cache commands are probably not relevant, but I included them just in case:
"scripts": {
"build": "babel src --out-dir dist --extensions \".ts,.js\" --ignore src/**/*.d.ts",
"test:prep": "pnpm run build && babel internal-tests --out-dir internal-tests-compiled --extensions \".ts\"",
"clear-cache": "rimraf -rf node_modules/.cache/@babel/register",
"test": "pnpm run test:prep && pnpm run clear-cache && ava --verbose",
"test:debug": "pnpm run test:prep && pnpm run clear-cache && ava debug --serial --verbose",
},
"ava": {
"require": [
"./_register.js"
],
"typescript": {
"rewritePaths": {
"internal-tests/": "internal-tests-compiled/"
}
}
},
The command:
pnpm run test:debug -- --match="simplify-union"
(will provide package.json, so you know what this resolves to) fails with error "Provide the path to the test file you wish to debug", but,pnpm run test -- --match="simplify-union"
works without issue.As such, I cannot specify a test name when running tests in debug mode.
Here is the relevant part of my package.json. The
build
,test:prep
, andclear-cache
commands are probably not relevant, but I included them just in case:Ava version: 3.8.2
The full repository is at https://github.com/vedantroy/typecheck.macro, let me know if you need a minimal reproducible example.
The text was updated successfully, but these errors were encountered: