mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-19 09:22:12 +00:00
refactoring and tests
This commit is contained in:
1 parent
3bb553d6b5
commit
da9abbae5e
45 files changed
+3558
-1564
No files matched your search
@@ -0,0 +1,8 @@
|
||||
// The tests run like the browser does, which is where the engine is available.
|
||||
export const browser = true;
|
||||
export const dev = false;
|
||||
export const building = false;
|
||||
export const version = 'test';
|
||||
|
||||
// what the code that checks `browser` reads of the window
|
||||
(globalThis as { window?: unknown }).window ??= { innerWidth: 1280, innerHeight: 800, URL };
|
||||
@@ -0,0 +1,5 @@
|
||||
export const base = '';
|
||||
export const assets = '';
|
||||
export function resolve(path: string) {
|
||||
return path;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
export const page = { url: new URL('http://localhost/') };
|
||||
export const navigating = { from: null, to: null };
|
||||
@@ -0,0 +1 @@
|
||||
export const PUBLIC_MAPTILER_KEY = 'test-key';
|
||||
Reference in new issue
Block a user