mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-09 15:48:08 -05:00
**Motivation**
Update vitest and browser engine.
**Description**
- Move root level shared configs to `configs` directory
- Update to vitest 3.x
- Migrate from `webdriverio` to `playwright` which is more stable and
recommended by Vitest.
**NOTE**
Reverted the `playwright` upgrade. See the comments.
d2a7af0308/configs/vitest.config.base.browser.ts (L41-L43)
**Steps to test or reproduce**
Run all tests
43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2021",
|
|
"lib": ["es2021", "dom"],
|
|
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
|
|
"pretty": true,
|
|
"strict": true,
|
|
"sourceMap": true,
|
|
"alwaysStrict": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"strictPropertyInitialization": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"noImplicitReturns": true,
|
|
|
|
"esModuleInterop": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"incremental": true,
|
|
"preserveWatchOutput": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
"noCheck": true,
|
|
|
|
// TODO: Investigate following errors:
|
|
// - Cannot find module 'rollup/parseAst' or its corresponding type declarations
|
|
"skipLibCheck": true,
|
|
|
|
// Required to run benchmark command from root directory
|
|
"typeRoots": [
|
|
"node_modules/@types",
|
|
"./types",
|
|
"${configDir}/node_modules/@types",
|
|
"${configDir}/types"
|
|
],
|
|
}
|
|
}
|