Skip to content

Commit 72a6718

Browse files
refactor(test): remove obsolete redux-storage-middleware mock
The mock was created as a workaround when the monorepo package wasn't built yet. Now that @gitbox/redux-storage-middleware is fully built and available via workspace resolution, tests correctly use the real package instead of the mock.
1 parent aca2ab8 commit 72a6718

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

tests/__mocks__/@gitbox/redux-storage-middleware.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

vitest.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ export default defineConfig({
5656
include: ['tests/unit/**/*.test.ts', 'tests/unit/**/*.test.tsx'],
5757
exclude: ['tests/e2e/**/*', 'node_modules/**/*', 'dist/**/*'],
5858
setupFiles: ['./tests/setup.ts'],
59-
alias: {
60-
'@gitbox/redux-storage-middleware': path.resolve(
61-
dirname,
62-
'tests/__mocks__/@gitbox/redux-storage-middleware.ts',
63-
),
64-
},
6559
},
6660
},
6761
// Storybook tests project (browser environment with Playwright)

0 commit comments

Comments
 (0)