Skip to content

Commit

Permalink
feat: Add full web-test-runner createConfig() (#7)
Browse files Browse the repository at this point in the history
* Add a wtr config creator

* Use DEFAULT_BROWSERS

* Keep naming consistent as vdiff, for now

* Update exports

* Rework getBrowsers; Add unit group; Throw TypeErrors

* Run separate server tests using mocha/chai directly

* Fix lint and tests

* Add some more tests; Minor tweaks

* Refactor for tests

* Use stubs to test return value

* Remove unused argv

* Rework negative vdiff group test

* Remove sgtn

* Reorder class members

* Add resize observer error handler

* Pass cliArgs to constructor

* Clean up tests

* Remove singleton; Add console.warn tests

* Run the tests in CI

* Regenerate package-lock

* Run tests separately in CI

Co-authored-by: Stacey Van Herk <[email protected]>

* Swap eslint config files

* Move tools/ to src/tools/

---------

Co-authored-by: Stacey Van Herk <[email protected]>
  • Loading branch information
bearfriend and svanherk authored Jun 9, 2023
1 parent 208d67a commit 745a0c3
Show file tree
Hide file tree
Showing 11 changed files with 996 additions and 60 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
node-version-file: .nvmrc
cache: 'npm'
- name: Install dependencies
run: npm ci
run: |
npm ci
npx playwright install-deps
- name: Lint (JavaScript)
run: npm run lint
- name: Unit Tests (Server)
run: npm run test:server
Loading

0 comments on commit 745a0c3

Please sign in to comment.