Commit 8dc32ca
Vitest migration (#709)
* test: add vitest prep (#707)
Adds vitest and associated scripts which will not succeed yet, as we
have no projects.
* fix: move to using a root vitest config (#713)
We were quickly going to end up with too many sub-configs, and all sorts
of problems with extending the various configs.
This switches to a single root config which globs each of the monorepo
packages instead.
* test: migrate preact/utils to vitest (#715)
* test: migrate preact/utils to vitest
This also adds `preact/utils` to the pnpm workspace so it can be
resolved properly via `@preact/signals-utils`.
* chore: revert workspace change
* fix: downgrade to vite 6 and revert the revert
* test: migrate signals package to vitest (#710)
Migrates the signals package to use vitest browser tests.
* test: migrate core tests to vitest (#708)
Migrates the core package to use vitest.
* test: migrate react tests to vitest (#716)
* test: migrate react tests to vitest
* test: migrate react-transform to vitest
* chore: remove mocha/sinon/chai/karma
* fix: add exact import
* fix: strongly type mocked components
* test: add the sketchy transform back
* fix: funky runtime path
* fix: resolve signals after runtime
* test: map things to places
* test: use vitest aliases
THIS MAY ACTUALLY WORK!
* chore: use react 16 in runtime too
* test: use correct vitest coverage globs (#779)
* chore: remove unused karma config
* test: correct coverage globs
* Fix some stragglers
* Move to browser
* test: de-dupe dependencies & use CDP GC (#786)
* chore: de-dupe babel dependencies
In the lockfile, we ended up with two versions of babel. This is
basically de-duping and dropping one of them.
* fix: use vitest assertions
* fix: dedupe vite
* test: use cdp to force garbage collection
---------
Co-authored-by: James Garbutt <43081j@users.noreply.github.com>35 files changed
Lines changed: 2519 additions & 3130 deletions
File tree
- .github/workflows
- extension
- packages
- core/test
- debug/test/browser
- preact-transform/test/node
- preact
- test
- browser
- utils/test/browser
- react-transform
- test
- browser
- node
- react
- runtime
- test
- browser
- node
- test
- browser
- node
- utils/test/browser
- scripts
- test/node
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
This file was deleted.
0 commit comments