mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-10 16:18:17 -05:00
chore: align vitest config filenames (#6369)
This commit is contained in:
@@ -65,7 +65,7 @@ If you observe following error running any of the test files that means you are
|
||||
- To then run only that failed test you can run against a specific file as use vitest's filters to run only one case
|
||||
|
||||
```sh
|
||||
LODESTAR_PRESET=minimal yarn vitest --run --config vitest.config.spec.ts test/spec/phase0/sanity.test.ts
|
||||
LODESTAR_PRESET=minimal yarn vitest --run --config vitest.spec.config.ts test/spec/phase0/sanity.test.ts
|
||||
```
|
||||
|
||||
## Docker
|
||||
|
||||
@@ -79,17 +79,17 @@
|
||||
"test:unit:minimal": "vitest --run --segfaultRetry 3 --dir test/unit/",
|
||||
"test:unit:mainnet": "LODESTAR_PRESET=mainnet vitest --run --dir test/unit-mainnet",
|
||||
"test:unit": "wrapper() { yarn test:unit:minimal $@ && yarn test:unit:mainnet $@; }; wrapper",
|
||||
"test:e2e": "LODESTAR_PRESET=minimal vitest --run --segfaultRetry 3 --config vitest.config.e2e.ts --dir test/e2e",
|
||||
"test:e2e": "LODESTAR_PRESET=minimal vitest --run --segfaultRetry 3 --config vitest.e2e.config.ts --dir test/e2e",
|
||||
"test:sim": "vitest --run test/sim/**/*.test.ts",
|
||||
"test:sim:merge-interop": "vitest --run test/sim/merge-interop.test.ts",
|
||||
"test:sim:mergemock": "vitest --run test/sim/mergemock.test.ts",
|
||||
"test:sim:withdrawals": "vitest --run test/sim/withdrawal-interop.test.ts",
|
||||
"test:sim:blobs": "vitest --run test/sim/4844-interop.test.ts",
|
||||
"download-spec-tests": "node --loader=ts-node/esm test/spec/downloadTests.ts",
|
||||
"test:spec:bls": "vitest --run --config vitest.config.spec.ts --dir test/spec/bls/",
|
||||
"test:spec:general": "vitest --run --config vitest.config.spec.ts --dir test/spec/general/",
|
||||
"test:spec:minimal": "LODESTAR_PRESET=minimal vitest --run --config vitest.config.spec.ts --dir test/spec/presets/",
|
||||
"test:spec:mainnet": "LODESTAR_PRESET=mainnet vitest --run --config vitest.config.spec.ts --dir test/spec/presets/",
|
||||
"test:spec:bls": "vitest --run --config vitest.spec.config.ts --dir test/spec/bls/",
|
||||
"test:spec:general": "vitest --run --config vitest.spec.config.ts --dir test/spec/general/",
|
||||
"test:spec:minimal": "LODESTAR_PRESET=minimal vitest --run --config vitest.spec.config.ts --dir test/spec/presets/",
|
||||
"test:spec:mainnet": "LODESTAR_PRESET=mainnet vitest --run --config vitest.spec.config.ts --dir test/spec/presets/",
|
||||
"test:spec": "yarn test:spec:bls && yarn test:spec:general && yarn test:spec:minimal && yarn test:spec:mainnet",
|
||||
"check-readme": "typescript-docs-verifier"
|
||||
},
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"lint": "eslint --color --ext .ts src/ test/",
|
||||
"lint:fix": "yarn run lint --fix",
|
||||
"test:unit": "vitest --run --dir test/unit/",
|
||||
"test:e2e": "vitest --run --config vitest.config.e2e.ts --dir test/e2e/",
|
||||
"test:e2e": "vitest --run --config vitest.e2e.config.ts --dir test/e2e/",
|
||||
"test:sim:multifork": "LODESTAR_PRESET=minimal node --loader ts-node/esm test/sim/multi_fork.test.ts",
|
||||
"test:sim:mixedclient": "LODESTAR_PRESET=minimal node --loader ts-node/esm test/sim/mixed_client.test.ts",
|
||||
"test:sim:endpoints": "LODESTAR_PRESET=minimal node --loader ts-node/esm test/sim/endpoints.test.ts",
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
"test:browsers:chrome": "vitest --run --browser chrome --config ./vitest.browser.config.ts --dir test/unit",
|
||||
"test:browsers:firefox": "vitest --run --browser firefox --config ./vitest.browser.config.ts --dir test/unit",
|
||||
"test:browsers:electron": "echo 'Electron tests will be introduced back in the future as soon vitest supports electron.'",
|
||||
"test:e2e": "LODESTAR_PRESET=minimal vitest --run --config vitest.config.e2e.ts --dir test/e2e",
|
||||
"test:e2e": "LODESTAR_PRESET=minimal vitest --run --config vitest.e2e.config.ts --dir test/e2e",
|
||||
"check-readme": "typescript-docs-verifier"
|
||||
},
|
||||
"types": "lib/index.d.ts",
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
"test:browsers:chrome": "vitest --run --browser chrome --config ./vitest.browser.config.ts --dir test/unit",
|
||||
"test:browsers:firefox": "vitest --run --browser firefox --config ./vitest.browser.config.ts --dir test/unit",
|
||||
"test:browsers:electron": "echo 'Electron tests will be introduced back in the future as soon vitest supports electron.'",
|
||||
"test:e2e": "LODESTAR_PRESET=minimal vitest --run --config vitest.config.e2e.ts --dir test/e2e/",
|
||||
"test:e2e": "LODESTAR_PRESET=minimal vitest --run --config vitest.e2e.config.ts --dir test/e2e/",
|
||||
"check-readme": "typescript-docs-verifier"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
"test:browsers:chrome": "vitest --run --browser chrome --config ./vitest.browser.config.ts --dir test/unit",
|
||||
"test:browsers:firefox": "vitest --run --browser firefox --config ./vitest.browser.config.ts --dir test/unit",
|
||||
"test:browsers:electron": "echo 'Electron tests will be introduced back in the future as soon vitest supports electron.'",
|
||||
"test:e2e": "LODESTAR_PRESET=minimal vitest --run --config vitest.config.e2e.ts --dir test/e2e",
|
||||
"test:e2e": "LODESTAR_PRESET=minimal vitest --run --config vitest.e2e.config.ts --dir test/e2e",
|
||||
"check-readme": "typescript-docs-verifier",
|
||||
"generate-fixtures": "node --loader ts-node/esm scripts/generate_fixtures.ts"
|
||||
},
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"lint:fix": "yarn run lint --fix",
|
||||
"test": "yarn test:unit && yarn test:e2e",
|
||||
"test:unit": "vitest --run --passWithNoTests --dir test/unit/",
|
||||
"test:e2e": "vitest --run --config vitest.config.e2e.ts --dir test/e2e/",
|
||||
"test:e2e": "vitest --run --config vitest.e2e.config.ts --dir test/e2e/",
|
||||
"check-readme": "typescript-docs-verifier"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
"lint:fix": "yarn run lint --fix",
|
||||
"test:unit": "vitest --run --dir test/unit/",
|
||||
"test": "yarn test:unit && yarn test:e2e",
|
||||
"test:spec": "vitest --run --config vitest.config.spec.ts --dir test/spec/",
|
||||
"test:e2e": "LODESTAR_PRESET=mainnet vitest --run --config vitest.config.e2e.ts --dir test/e2e",
|
||||
"test:spec": "vitest --run --config vitest.spec.config.ts --dir test/spec/",
|
||||
"test:e2e": "LODESTAR_PRESET=mainnet vitest --run --config vitest.e2e.config.ts --dir test/e2e",
|
||||
"download-spec-tests": "node --loader=ts-node/esm test/spec/downloadTests.ts",
|
||||
"coverage": "codecov -F lodestar-validator",
|
||||
"check-readme": "typescript-docs-verifier"
|
||||
|
||||
Reference in New Issue
Block a user