chore: Cleanup type tests

This commit is contained in:
Aaron
2026-02-12 15:53:41 -06:00
parent 50d7c1ec80
commit 9dea0cf3ae
+6 -6
View File
@@ -12,12 +12,12 @@ describe('browser', () => {
it('should provide values via the browser import', () => {
expectTypeOf(browser.runtime.id).toEqualTypeOf<string>();
expectTypeOf<
typeof browser.storage.local
>().toEqualTypeOf<Browser.storage.LocalStorageArea>();
expectTypeOf<
typeof browser.i18n.detectLanguage
>().returns.resolves.toEqualTypeOf<chrome.i18n.LanguageDetectionResult>();
expectTypeOf(
browser.storage.local,
).toEqualTypeOf<Browser.storage.LocalStorageArea>();
expectTypeOf(
browser.i18n.detectLanguage,
).returns.resolves.toEqualTypeOf<chrome.i18n.LanguageDetectionResult>();
});
});
});