fix: retain native signer session through repeated public-key lookups

This commit is contained in:
archipelago
2026-10-05 21:18:27 -04:00
parent 6f098cd9c2
commit 3d0c67eb9b
4 changed files with 80 additions and 7 deletions
@@ -15,12 +15,13 @@ describe('fleet unavailable readings', () => {
global: {mocks: {$ver: (v: string) => v}},
})
const cards = wrapper.findAll('.fleet-node-card')
expect(cards[0].text()).toContain('0%')
expect(cards[0].text()).toContain('—')
expect(cards[0].text()).toContain('Offline · last seen 2d ago')
expect(cards[1].text()).toContain('Status unknown')
expect(cards[1].text()).not.toContain('0%')
expect(cards[1].text()).toContain('Uptime unavailable')
expect(cards).toHaveLength(2)
expect(cards[0]!.text()).toContain('0%')
expect(cards[0]!.text()).toContain('—')
expect(cards[0]!.text()).toContain('Offline · last seen 2d ago')
expect(cards[1]!.text()).toContain('Status unknown')
expect(cards[1]!.text()).not.toContain('0%')
expect(cards[1]!.text()).toContain('Uptime unavailable')
expect(wrapper.text()).not.toContain('NaN')
wrapper.unmount()
})