Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,7 @@ jobs:
npm install
npm run build

- name: Run root unit tests
run: npx vitest run

- name: Run TypeScript unit tests with coverage
working-directory: nemoclaw
- name: Run all unit tests with coverage
run: npx vitest run --coverage

- name: Check coverage ratchet
Expand Down
5 changes: 2 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ else
npx --no -- lint-staged
fi

cd nemoclaw
if [ -x ./node_modules/.bin/vitest ]; then
./node_modules/.bin/vitest run
./node_modules/.bin/vitest run --project plugin
else
npx vitest run
npx vitest run --project plugin
fi
6 changes: 1 addition & 5 deletions nemoclaw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
"lint:fix": "eslint 'src/**/*.ts' --fix",
"format": "prettier --write 'src/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts'",
"test": "vitest run",
"test:watch": "vitest",
"check": "npm run lint && npm run format:check && tsc --noEmit",
"clean": "rm -rf dist/"
},
Expand All @@ -32,12 +30,10 @@
"@types/node": "^20.19.37",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"@vitest/coverage-v8": "^4.1.0",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.1",
"typescript": "^5.4.0",
"vitest": "^4.1.0"
"typescript": "^5.4.0"
},
"engines": {
"node": ">=20.0.0"
Expand Down
13 changes: 0 additions & 13 deletions nemoclaw/vitest.config.ts

This file was deleted.

Loading
Loading