Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Nov 2, 2023
1 parent 3cf6882 commit de2b9ae
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ describe(getOneTrustGlobal, () => {
expect(getOneTrustGlobal()).toBeUndefined()
expect(consoleErrorSpy).not.toHaveBeenCalled()
})
it('should log an error if the global is missing fields', () => {

it('should log an error if the global is an unexpected type', () => {
;(window as any).OneTrust = {}
const consoleErrorSpy = jest
.spyOn(console, 'error')
Expand Down

0 comments on commit de2b9ae

Please sign in to comment.