diff --git a/.nvmrc b/.nvmrc index 2bd5a0a..48ef2c1 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -22 +20.9 diff --git a/package.json b/package.json index a575c7a..1a30367 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,8 @@ "repl": "tsx", "node": "node --import=tsx", "check:types": "tsc --noEmit && echo 'No type errors found'", - "test:unit": "node --import=tsx --test --test-reporter=spec \"**/*.test.ts\" # Note: glob requires Node v22", + "//test:unit": "node --import=tsx --test --test-reporter=spec \"**/*.test.ts\" # Note: glob requires Node v22", + "test:unit": "find {src,test} -name \"*.test.ts\" -exec node --import=tsx --test --test-reporter=spec {} ';'", "test:integration": "./tests/integration/run_integration_tests.sh", "test": "npm run test:integration # && npm run test:unit", "test-watch": "node --import=tsx --test --test-reporter=spec --watch tests",