Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook committed Aug 30, 2023
1 parent 6f10676 commit e861ced
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/services/firebase/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ const setupFetchStub = (data: any) => (_url: string) => {
})
}

Object.defineProperty(self, 'location', {
value: {
origin: 'https://app.safe.global',
},
})

describe('parseWebhookNotification', () => {
beforeEach(() => {
global.fetch = jest.fn()
Expand Down

0 comments on commit e861ced

Please sign in to comment.