static-cms/setupTestFramework.js

5 lines
143 B
JavaScript

import * as emotion from 'emotion';
import { createSerializer } from 'jest-emotion';
expect.addSnapshotSerializer(createSerializer(emotion));