Skip to content

Commit

Permalink
Fix test path ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
mtusnio committed Aug 24, 2024
1 parent a8dd6ed commit 9f8164e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node-version: '20.x'
- run: npm ci
- run: npm test
- run: npm test-unit
browser-tests:
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"lint": "npx eslint --fix *.js js/options.js js/wordlist.js js/zhuyin.js",
"csslint": "stylelint css/content.css css/wordlist.css",
"zip": "zip -r dictionary.zip ./* -x '*.git*' -x add_jyutping.py -x package.json -x package-lock.json",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --testPathIgnorePatterns='browser_tests/*'",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test-unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js --testPathIgnorePatterns='browser_tests/*'",
"test-browser": "node --experimental-vm-modules node_modules/jest/bin/jest.js --testTimeout 10000 --testPathPattern='browser_tests/*'"
}
}

0 comments on commit 9f8164e

Please sign in to comment.