chore: Add initial jest tests + code coverage (#13)

- Adds initial infra for running front-end tests (`jest`, `ts-jest`, `jest.config.js`, etc)
- Adds codecov integration front-end code
This commit is contained in:
Bryan
2022-01-13 18:48:23 -08:00
committed by GitHub
parent afc2fa3b62
commit 423611b001
20 changed files with 2484 additions and 142 deletions
+10 -1
View File
@@ -136,7 +136,7 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./gotests.coverage
flags: ${{ matrix.os }}
flags: unittest-go-${{ matrix.os }}
fail_ci_if_error: true
test-js:
@@ -161,3 +161,12 @@ jobs:
- run: yarn install
- run: yarn build
- run: yarn test:coverage
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
flags: unittest-js
fail_ci_if_error: true