添加测试
Some checks failed
build / Build (push) Failing after 7s
test / Run tests (push) Failing after 10s
Some checks failed
build / Build (push) Failing after 7s
test / Run tests (push) Failing after 10s
This commit is contained in:
@ -1,7 +1,16 @@
|
||||
import path from "path";
|
||||
import { defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
"@App": path.resolve(__dirname, "./src"),
|
||||
"@Packages": path.resolve(__dirname, "./packages"),
|
||||
"@Tests": path.resolve(__dirname, "./tests"),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
// ...
|
||||
// List setup file
|
||||
setupFiles: ["./tests/vitest.setup.ts"],
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user