Skip to content

Commit

Permalink
chore: use jest to replace mocha and karma
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux committed Oct 20, 2023
1 parent b772d37 commit 5e79b4a
Show file tree
Hide file tree
Showing 29 changed files with 20,372 additions and 607 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- run: sudo apt-get install xvfb
- run: npm install
- run: DEBUG=eslint:cli-engine npm run lint:all
- run: npm run build
- run: xvfb-run --auto-servernum -- npm test
env:
CHROME_BIN: chromium-browser
- run: cat */coverage/lcov.info
- run: npm run test:coverage
- name: Coveralls SDK
uses: coverallsapp/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .huskyrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hooks": {
"pre-commit": "npm run lint:staged && npm run test:quick"
"pre-commit": "npm run lint:staged && npm run test"
}
}
Loading

0 comments on commit 5e79b4a

Please sign in to comment.