Move test + try to fix

This commit is contained in:
igor-dv 2018-11-24 20:35:15 +02:00
parent 328a1eb96a
commit a452c860aa

View File

@ -1,8 +1,9 @@
import fs from 'fs';
import { getReactScriptsPath } from '../cra-config';
import { getReactScriptsPath } from './cra-config';
jest.mock('fs', () => ({
realpathSync: jest.fn(),
existsSync: () => true,
}));
jest.mock('mini-css-extract-plugin', () => {});