Skip to content

Commit 4fdfec7

Browse files
Dan Skinnergingerbenw
authored andcommitted
fix test to reset isSecureContext
1 parent 5301a9d commit 4fdfec7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/delivery-fetch/tests/delivery.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,8 @@ describe('Browser Delivery', () => {
357357
state: 'success',
358358
samplingProbability: undefined
359359
})
360+
361+
window.isSecureContext = true
360362
})
361363

362364
it('omits the bugsnag integrity header when sendPayloadChecksums is false', async () => {

0 commit comments

Comments
 (0)