Skip to content

Commit

Permalink
Revert "test: ignore jest due to there is no elegant way to test tele…
Browse files Browse the repository at this point in the history
…port"

This reverts commit d1257e2.
  • Loading branch information
Ernest committed May 4, 2021
1 parent 3ebcfd6 commit 6336be5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,11 @@ jobs:

- run: yarn test:cypress

# TODO: https://github.com/vuejs/vue-test-utils-next/issues/418
- run: yarn test:jest --coverage
env:
CI: true

- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v1.1.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
"scripts": {
"build": "rollup --config",
"dev": "rollup --config --watch --environment DEVELOPMENT",
"test": "yarn test:cypress",
"test": "yarn test:jest && yarn test:cypress",
"test:cypress": "yarn cypress run",
"test:jest": "jest --clearCache && jest test/**/*",
"release": "standard-version",
"lint": "prettier --check *",
"postinstall": "husky install",
Expand Down

0 comments on commit 6336be5

Please sign in to comment.