Add test for mocking library (#1545)

This commit is contained in:
Tomas Della Vedova
2021-08-30 15:36:14 +02:00
committed by GitHub
parent f981c273d6
commit b67d42cb5f
3 changed files with 110 additions and 0 deletions

View File

@ -119,6 +119,27 @@ jobs:
npm start --prefix test/bundlers/rollup-test
npm start --prefix test/bundlers/webpack-test
mock-support:
name: Mock support
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Install
run: |
npm install
npm install --prefix test/mock
- name: Run test
run: |
npm test --prefix test/mock
code-coverage:
name: Code coverage
runs-on: ubuntu-latest