feat: tests & bootstrap

This commit is contained in:
Anatoly Antonov 2026-04-22 02:26:43 +09:00
parent 4bd927bb4e
commit 79e20ca37c
19 changed files with 706 additions and 23 deletions

View file

@ -1,4 +1,8 @@
@import 'bootstrap/dist/css/bootstrap.min.css';
/* Custom YKS brand-themed Bootstrap 5.2.3 is served from /css/bootstrap.min.css
* (see static/css/bootstrap.min.css). It carries the brand palette
* (--bs-primary: #457aab, etc.) that stock Bootstrap doesn't.
*/
@import '/css/bootstrap.min.css';
@import 'bootstrap-icons/font/bootstrap-icons.css';
/*

View file

@ -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();
}
}
});
});