fix: retain native signer session through repeated public-key lookups
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user