Skip to content

Commit

Permalink
test(coverage): 100% test coverage & refactor to vitest and msw (#6)
Browse files Browse the repository at this point in the history
* chore(refactor): tests use vitest and msw
* fix(directory): Ensure filenames conform to eslint requirements
* chore(yarn): Specify node engine version
* fix(yarn): use the proper nodelinker
* fix(GitHub workflow): yarn install with caching
* docs(README): update to match changes

---------

Co-authored-by: Gergő Jedlicska <[email protected]>
  • Loading branch information
iainsproat and gjedlicska authored Mar 23, 2023
1 parent 1f8e68e commit 1fceda4
Show file tree
Hide file tree
Showing 42 changed files with 35,250 additions and 20,001 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: Yarn Install
run: yarn install
- uses: actions/cache/save@v3
id: cache-save
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- run: |
yarn run run:mockserver & # run mockserver in background, will be killed when test finishes
- uses: ./
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ node_modules
lib

coverage/

# asdf config file
.tool-versions
17,141 changes: 0 additions & 17,141 deletions .pnp.cjs

This file was deleted.

Loading

0 comments on commit 1fceda4

Please sign in to comment.