Skip to content

Commit

Permalink
feat: add type definitions to mockmatchmedia util
Browse files Browse the repository at this point in the history
  • Loading branch information
grabkowski committed May 11, 2021
1 parent 2c26bc3 commit 205a000
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/__spec_helper__/mock-match-media.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare function setup(): void;
declare function mockMatchMedia(matches?: boolean): jest.Mock;

export { setup, mockMatchMedia };

0 comments on commit 205a000

Please sign in to comment.