forked from ringcentral/ringcentral-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use jest to replace mocha and karma
- Loading branch information
Showing
29 changed files
with
20,372 additions
and
607 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
Oops, something went wrong.