fix: Unit test

This commit is contained in:
Sidharth Vinod
2024-11-14 13:53:28 +05:30
parent 90716ef8d5
commit dc114d55c9
+2 -1
View File
@@ -5,6 +5,7 @@ import 'vitest-dom/extend-expect';
// TODO: Remove once https://github.com/sveltejs/kit/issues/6259 is closed.
beforeAll(() => {
vi.mock('$app/environment', () => ({
browser: 'window' in globalThis
browser: 'window' in globalThis,
dev: true
}));
});