Skip to content

Commit 278ab51

Browse files
committed
Fix package path resolution for unit tests
1 parent f1331fe commit 278ab51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/rtk-query-codegen-openapi/vitest.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default defineConfig({
1212
test: {
1313
alias: process.env.TEST_DIST
1414
? {
15-
'@rtk-query/codegen-openapi': path.join(__dirname, 'node_modules/@rtk-query/codegen-openapi'),
15+
'@rtk-query/codegen-openapi': path.join(__dirname, '../..', 'node_modules/@rtk-query/codegen-openapi'),
1616
}
1717
: undefined,
1818
testTimeout: 10_000,

0 commit comments

Comments
 (0)