keep the terms notice test aligned with its dismissal action

This commit is contained in:
Danny White committed 2026-10-06 15:49:28 +11:00
1 parent 9223489ad3
commit 4e686dfe56
1 file changed
+1 -1
@@ -34,7 +34,7 @@ describe('BannerTermsOfServiceUpdate', () => {
'https://supabase.com/terms'
)
expect(localStorage.getItem(LOCAL_STORAGE_KEYS.TERMS_OF_SERVICE_UPDATE)).toBeNull()
await user.click(screen.getByRole('button', { name: 'Understood' }))
await user.click(screen.getByRole('button', { name: 'Got it' }))
await waitFor(() =>
expect(localStorage.getItem(LOCAL_STORAGE_KEYS.TERMS_OF_SERVICE_UPDATE)).toBe('true')
)