feat: tests & bootstrap
This commit is contained in:
parent
4bd927bb4e
commit
79e20ca37c
19 changed files with 706 additions and 23 deletions
|
|
@ -51,7 +51,15 @@
|
|||
});
|
||||
map.ready.then(() => {
|
||||
ready = true;
|
||||
if (map) onReady?.(map);
|
||||
if (map) {
|
||||
onReady?.(map);
|
||||
if (import.meta.env.DEV) {
|
||||
// Debug handle for e2e tests and console inspection. Only exposed
|
||||
// in dev builds; trimmed from production bundles.
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
(window as any)._lsvMap = map.getRawInstance();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue