Skip to content

Commit 483f75e

Browse files
fix(ci): use relative path for mock alias in vitest config
1 parent 0e47522 commit 483f75e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

vitest.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ export default defineConfig({
4242
],
4343
},
4444
alias: {
45-
'@gitbox/redux-storage-middleware':
46-
'/Users/ryotamurakami/laststance/gitbox/tests/__mocks__/@gitbox/redux-storage-middleware.ts',
45+
'@gitbox/redux-storage-middleware': path.resolve(
46+
dirname,
47+
'tests/__mocks__/@gitbox/redux-storage-middleware.ts',
48+
),
4749
},
4850
projects: [
4951
{

0 commit comments

Comments
 (0)