See how visible the eclipse is from where you are!
Something went wrong. Try again.
12345678910111213141516171819import { describe, expect, it } from 'vitest'import { geolocationFailure } from './geolocationMessage'
describe('geolocation fallback copy', () => { it('gives permission guidance without blaming the user', () => { expect(geolocationFailure(1)).toEqual({ title: 'Location access is switched off', message: expect.stringContaining('browser settings'), }) })
it('points unsupported hardware towards search', () => { expect(geolocationFailure()).toEqual({ title: 'Location isn’t available on this device', message: expect.stringContaining('Search'), }) })})