Skip to content

Commit

Permalink
Replace module.exports with export, remove unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dan437 committed Apr 27, 2021
1 parent 87b907e commit 9aa65f8
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions test/jest/index.js
@@ -1,13 +1,5 @@
import * as mockStore from './mock-store';
import * as rendering from './rendering';
import * as background from './background';
import * as MOCKS from './mocks';
import * as CONSTANTS from './constants';

module.exports = {
...mockStore,
...rendering,
...background,
MOCKS,
CONSTANTS,
};
export { createSwapsMockStore } from './mock-store';
export { renderWithProvider } from './rendering';
export { setBackgroundConnection } from './background';
export * as MOCKS from './mocks';
export * as CONSTANTS from './constants';

0 comments on commit 9aa65f8

Please sign in to comment.