Skip to content

Commit

Permalink
Merge pull request #533 from ryanml/fix-1370
Browse files Browse the repository at this point in the history
Fixing Travis unit tests
  • Loading branch information
cezaraugusto authored and ryanml committed Oct 1, 2018
1 parent a613867 commit 0011291
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/test/testPolyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { getMockChrome } from './testData'
(global as any).window = {} as any

(window as any).localStorage = {
getItem: jest.fn()
getItem: jest.fn(),
setItem: jest.fn()
} as any

(window as any).location = {
Expand Down

0 comments on commit 0011291

Please sign in to comment.