From 806163c6c549b62560d10c1ad3c513d5f0bf6b3a Mon Sep 17 00:00:00 2001 From: Dorian Date: Fri, 13 Mar 2026 00:07:50 +0000 Subject: [PATCH] =?UTF-8?q?test:=20add=20frontend=20composable=20tests=20?= =?UTF-8?q?=E2=80=94=20useNostr=20(9),=20useFightCache=20(5),=20useOnlineS?= =?UTF-8?q?tatus=20(4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tests cover login state, logout, signer detection, key persistence, IndexedDB caching/eviction, online/offline detection, and singleton pattern. Co-Authored-By: Claude Opus 4.6 --- pnpm-lock.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bca857f..084b517 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,6 +61,9 @@ importers: '@vue/test-utils': specifier: ^2.4.6 version: 2.4.6 + fake-indexeddb: + specifier: ^6.2.5 + version: 6.2.5 jsdom: specifier: ^28.1.0 version: 28.1.0(@noble/hashes@2.0.1) @@ -2210,6 +2213,10 @@ packages: resolution: {integrity: sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==} engines: {node: '>=12.0.0'} + fake-indexeddb@6.2.5: + resolution: {integrity: sha512-CGnyrvbhPlWYMngksqrSSUT1BAVP49dZocrHuK0SvtR0D5TMs5wP0o3j7jexDJW01KSadjBp1M/71o/KR3nD1w==} + engines: {node: '>=18'} + fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -5835,6 +5842,8 @@ snapshots: expect-type@1.3.0: {} + fake-indexeddb@6.2.5: {} + fast-deep-equal@3.1.3: {} fast-json-stable-stringify@2.1.0: {}