Handle empty recorded calls in install regression assertion

This commit is contained in:
archipelago
2026-09-29 15:38:49 -04:00
parent 8d9fad1749
commit 3612458e86
@@ -124,7 +124,7 @@ describe('Marketplace tracer tab: background refresh failure (D-07)', () => {
await modal.get('button.glass-button-warning').trigger('click')
await flushPromises()
expect(installs()).toHaveLength(1)
expect(installs()[0][0].params).toMatchObject({ id, version: '29.0', prune: true })
expect(installs()[0]?.[0].params).toMatchObject({ id, version: '29.0', prune: true })
expect(modal.props('show')).toBe(false)
wrapper.unmount()
})