Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
test(ui): avoid backtracking in SSR element assertion
Timothy Yinbd3b5491e12b
diff --git a/tests/saas-ui.test.ts b/tests/saas-ui.test.tsindex dceadadc..6460eb58 100644--- a/tests/saas-ui.test.ts+++ b/tests/saas-ui.test.ts@@ -57,7 +57,7 @@ test('Shared buttons preserve form semantics and a single pending polymorphic li{ asChild: true, loading: true },() => h('a', { href: '/sites' }, 'Sites'),)- assert.match(pending, /^(?:<!--[\s\S]*?-->)*<a\b/)+ assert.equal(pending.match(/<([a-z][a-z0-9]*)\b/i)?.[1], 'a')assert.match(pending, /aria-busy="true"/)assert.match(pending, /aria-disabled="true"/)assert.match(pending, /tabindex="-1"/)