Add tests && add img lazy async

This commit is contained in:
kwaroran
2025-04-14 15:28:14 +09:00
parent 666e1f71b0
commit 35f0f8e1dc
4 changed files with 23 additions and 0 deletions

10
src/test/runTest.ts Normal file
View File

@@ -0,0 +1,10 @@
export function declareTest() {
if(import.meta.env.DEV){
globalThis.test = async () => {
const d = await import("./test.js")
return d.test()
}
}
}