test: Reduce memory usage by not requiring stores into all (#2265)
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
import localStorage from '../../__mocks__/localStorage';
|
||||
import Enzyme from "enzyme";
|
||||
import Adapter from "enzyme-adapter-react-16";
|
||||
import "../stores";
|
||||
|
||||
Enzyme.configure({ adapter: new Adapter() });
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// @flow
|
||||
export const runAllPromises = () => new Promise(setImmediate);
|
||||
export const runAllPromises = () => new Promise<void>(setImmediate);
|
||||
|
||||
Reference in New Issue
Block a user