feat: standalone mode

This commit is contained in:
2026-07-14 08:34:45 +03:00
parent 3dd385bfda
commit c596f9f1c3
64 changed files with 1341 additions and 2755 deletions

View File

@@ -114,6 +114,9 @@ for (const app of apps) {
expect(href).not.toMatch(/^(?:blob|data|file):/)
const spriteUrl = new URL(href!.split('#')[0], page.url())
if ('expectedSpritePath' in app) {
expect(spriteUrl.pathname).toBe(app.expectedSpritePath)
}
const spriteResponse = await fetch(spriteUrl)
expect(spriteResponse.status).toBe(200)
expect(spriteResponse.headers.get('content-type') ?? '').toMatch(/image\/svg\+xml/)