/// import { describe, expectTypeOf, it } from 'vitest'; import { browser, type Browser } from '../index'; describe('browser', () => { describe('types', () => { it('should provide types via the Browser import', () => { expectTypeOf().toEqualTypeOf(); expectTypeOf().toEqualTypeOf(); expectTypeOf().toEqualTypeOf(); }); it('should provide values via the browser import', () => { expectTypeOf(browser.runtime.id).toEqualTypeOf(); expectTypeOf( browser.storage.local, ).toEqualTypeOf(); expectTypeOf( browser.i18n.detectLanguage, ).returns.resolves.toEqualTypeOf(); }); }); });