diff --git a/packages/browser/test/utils/lazyLoadIntegration.test.ts b/packages/browser/test/utils/lazyLoadIntegration.test.ts index ec88ae49a1a9..82548a59faec 100644 --- a/packages/browser/test/utils/lazyLoadIntegration.test.ts +++ b/packages/browser/test/utils/lazyLoadIntegration.test.ts @@ -71,9 +71,11 @@ describe('lazyLoadIntegration', () => { httpClientIntegration: undefined, }; - // We do not await here, as this this does not seem to work with JSDOM :( - // We have browser integration tests to check that this actually works - void lazyLoadIntegration('httpClientIntegration'); + try { + await lazyLoadIntegration('httpClientIntegration'); + } catch { + // skip + } expect(global.document.querySelectorAll('script')).toHaveLength(1); expect(global.document.querySelector('script')?.src).toEqual(