Commit 7b01de3
committed
(refactor/test): switch test env to jest w/ electron runner
- use a full browser for testing instead of running in Node and
relying on JSDOM, which does not implement all of the features we
use (namely worker-related stuff)
- this ensures tests run without any errors
- and @jest-runner/electron is surprisingly **very fast**, not much
different from running in normal jest w/ jsdom
- like 4s locally fast I mean
- refactor tests to Jest style from AVA style
- remove all AVA-specifc config1 parent 713f6a9 commit 7b01de3
File tree
6 files changed
+7557
-4258
lines changed- test
- utils
6 files changed
+7557
-4258
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments