We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vitest.config.mts
1 parent 868df32 commit 491defdCopy full SHA for 491defd
packages/rtk-query-codegen-openapi/vitest.config.mts
@@ -8,13 +8,14 @@ const __dirname = path.dirname(__filename);
8
9
export default defineConfig({
10
test: {
11
+ alias: process.env.TEST_DIST
12
+ ? {
13
+ '@rtk-query/codegen-openapi': path.join(__dirname, 'node_modules/@rtk-query/codegen-openapi'),
14
+ }
15
+ : undefined,
16
testTimeout: 10_000,
17
pool: 'forks',
18
globals: true,
19
setupFiles: ['./test/vitest.setup.ts'],
- alias: {
- '@': path.join(__dirname, 'test/fixtures'),
- '@rtk-query/codegen-openapi': path.join(__dirname, 'src'),
- },
20
},
21
});
0 commit comments