This commit is contained in:
Sidharth Vinod
2022-09-02 23:35:52 +05:30
parent 973f1b7446
commit 0a19740b27
+1 -1
View File
@@ -5,7 +5,7 @@ expect.extend(matchers);
// TODO: Remove once https://github.com/sveltejs/kit/issues/6259 is closed.
beforeAll(() => {
vi.mock('$app/env', () => ({
vi.mock('$app/environment', () => ({
browser: 'window' in globalThis
}));
});