2019-03-15 10:19:57 -04:00
|
|
|
/* eslint-disable emotion/no-vanilla */
|
2019-11-17 11:51:50 +02:00
|
|
|
import '@testing-library/jest-dom/extend-expect';
|
2019-06-26 11:51:35 -04:00
|
|
|
import fetch from 'node-fetch';
|
2018-08-07 14:46:54 -06:00
|
|
|
import * as emotion from 'emotion';
|
|
|
|
import { createSerializer } from 'jest-emotion';
|
2018-07-25 19:17:34 -04:00
|
|
|
|
2019-06-26 11:51:35 -04:00
|
|
|
window.fetch = fetch;
|
2018-08-07 14:46:54 -06:00
|
|
|
expect.addSnapshotSerializer(createSerializer(emotion));
|