test(prover): move tests for prover to vitest (#6074)

* Automatic assertion migration

* Fix some left over assertions

* Remove sinon

* Add config files

* Move browser tests to vitest

* Fix browser tests

* Add a skip lib check for now

* Fix the spellings

* Fix deprecated flags

* Fix types

* Update the script tasks

* Fix the e2e tests

* Fix e2e tests

* Update webdriverio to fix browser installtion issue

* Fix the vitest config

* Add a peer dependency

* Add vite resolution

* Add a manual install for browsers

* Update packages to support additional browser options

* Update the resolutions

* Add resolutions to fix dependencies

* Update the yarn linter script

* Add sigfault handler

* Rebuild native modules with debug flag

* Update depedencies

* Update e2e tests

* Update dependencies

* Add browser capabilities

* Revert a whitespace change

* Remove segfault handler

* Remove native dep for lightclient

* Add debug flag to introspect error

* Rename a file

* Upgrade the vitest package

* Fix the regressions introduced in vitest 1 >

* Revert the regression of vitest 1.0.1

* Clean dependencies

* Update multiple fork fix

* Add dependency fix

* Fix broken singleThread option for e2e
This commit is contained in:
Nazar Hussain
2023-12-08 10:30:08 +01:00
committed by GitHub
parent 7935caf280
commit 53378e1e08
46 changed files with 2139 additions and 637 deletions

View File

@@ -23,6 +23,12 @@
"declaration": true,
"declarationMap": true,
"incremental": true,
"preserveWatchOutput": true
"preserveWatchOutput": true,
// There are two duplicate type definitions included from `chai` and `vitest` packages.
// There is one invalid type declaration introduced from `webdriverio -> got` package.
// TODO: Once we completely remove `chai` and upgrade `webdriverio` we can enable this check again.
"skipLibCheck": true,
}
}