| 12345678910111213141516 |
- // @flow
- const { toMatchImageSnapshot } = require('jest-image-snapshot');
- expect.extend({ toMatchImageSnapshot });
- global.TEST_URL = `http://localhost:${process.env.DEV_PORT || '5000'}`;
- global.console = {
- log: console.log,
- };
- beforeEach(() => {
- global.console.error = jest.fn();
- global.console.warn = jest.fn();
- });
|