From c00a537c2f9b68df11a28a34c7438545767aba94 Mon Sep 17 00:00:00 2001 From: Felix Jung Date: Thu, 6 Dec 2018 23:25:35 +0100 Subject: [PATCH] Prevent linting no-undef errors (patch) --- files/setupTests.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/setupTests.js b/files/setupTests.js index f982c0b..b5d1220 100644 --- a/files/setupTests.js +++ b/files/setupTests.js @@ -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)); /** @@ -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));