-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #294 from appwrite/test-improve-config
test: improve vite config
- Loading branch information
Showing
2 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
import { vi } from 'vitest'; | ||
import * as svelteinternal from 'svelte/internal'; | ||
|
||
beforeAll(() => { | ||
vi.mock('$app/environment', () => ({ | ||
browser: true | ||
})); | ||
vi.mock('$app/stores', () => ({ | ||
page: null | ||
})); | ||
vi.mock('$app/navigation', () => ({ | ||
goto: vi.fn() | ||
})); | ||
vi.mock('svelte', () => svelteinternal); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99772f4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
console – ./
svelte-console.vercel.app
console-appwrite.vercel.app
brand-new-console.torsten.appwrite.org
console-git-main-appwrite.vercel.app
demo.appwriters.com