Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ignite
GitHub Repository: ignite/cli
Path: blob/main/integration/testdata/tstestrunner/vitest.config.ts
1007 views
1
import { defineConfig } from "vitest/config";
2
3
// TODO: add .env file support for a better developer experience ? It would allow
4
// writting new tests agains a running blockchain without the need of scaffolding
5
// a new one for each test run.
6
7
export default defineConfig({
8
test: {
9
include: ["**/*_test.ts"],
10
globals: true,
11
setupFiles: "testutil/setup.ts",
12
testTimeout: 600000, // milliseconds
13
},
14
resolve: {
15
alias: {
16
client: process.env.TEST_TSCLIENT_DIR,
17
},
18
},
19
});
20
21