Skip to content

Commit

Permalink
[Jest] Browser tests (#810)
Browse files Browse the repository at this point in the history
* add chromedriver

* Rename to ts

* Rename to ts

* Run jest-codemods on browser.ts

* Run jest-codemods on zoom.test.ts

* Lint

* Run custom codemods with async

* Put tests in single file

* Change beforeEach to beforeAll

* Remove path from jest config
  • Loading branch information
birkskyum authored Jan 24, 2022
1 parent e53492a commit 69bf99c
Show file tree
Hide file tree
Showing 9 changed files with 408 additions and 179 deletions.
2 changes: 1 addition & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"roots": [
"<rootDir>/src"
"<rootDir>/src",
],
"testMatch": [
"**/__tests__/**/*.+(ts|tsx|js)",
Expand Down
235 changes: 235 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"browserify": "^17.0.0",
"canvas": "^2.9.0",
"chokidar": "^3.0.2",
"chromedriver": "^97.0.0",
"cssnano": "^5.0.8",
"d3": "^4.12.0",
"diff": "^4.0.1",
Expand Down
Loading

0 comments on commit 69bf99c

Please sign in to comment.