mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-19 01:49:43 +09:00
Run them in headless [vitest browser mode](https://vitest.dev/guide/browser/) in chromium and firefox. Similar UX than current tests, it's about 5 times as slow (goes from 1s to 5s on my machine), but definitely worth it as it removes all happy-dom problems. --------- Signed-off-by: silverwind <me@silverwind.io>
17 lines
386 B
TypeScript
17 lines
386 B
TypeScript
import './globals.ts';
|
|
|
|
window.config = {
|
|
appUrl: `${window.location.origin}/`,
|
|
appSubUrl: '',
|
|
assetUrlPrefix: '/assets',
|
|
sharedWorkerUri: '',
|
|
runModeIsProd: true,
|
|
customEmojis: {},
|
|
pageData: {},
|
|
notificationSettings: {MinTimeout: 0, TimeoutStep: 0, MaxTimeout: 0},
|
|
enableTimeTracking: true,
|
|
mermaidMaxSourceCharacters: 5000,
|
|
i18n: {},
|
|
frontendInited: false,
|
|
};
|