refactor: move hoppscotch-common tests to vitest (#3154)
This commit is contained in:
14
packages/hoppscotch-common/vitest.config.ts
Normal file
14
packages/hoppscotch-common/vitest.config.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { defineConfig } from "vitest/config"
|
||||
import * as path from "path"
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
environment: "jsdom",
|
||||
setupFiles: "./src/setupTests.ts",
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"~": path.resolve(__dirname, "../hoppscotch-common/src"),
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user