Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
Prevent linting no-undef errors (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixjung committed Dec 6, 2018
1 parent 084d739 commit c00a537
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import * as emotion from 'emotion';
*
* https://github.com/emotion-js/emotion/tree/master/packages/jest-emotion#tohavestylerule
* */
// eslint-disable-next-line no-undef
expect.extend(createMatchers(emotion));

/**
Expand All @@ -21,4 +22,5 @@ expect.extend(createMatchers(emotion));
*
* https://github.com/emotion-js/emotion/tree/master/packages/jest-emotion#snapshot-serializer
* */
// eslint-disable-next-line no-undef
expect.addSnapshotSerializer(createSerializer(emotion));

0 comments on commit c00a537

Please sign in to comment.