Skip to content

Commit

Permalink
Chore: export default in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed May 25, 2021
1 parent 081e4ed commit 9d210e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = {};
export default {};
5 changes: 3 additions & 2 deletions tests/entry.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-disable security/detect-non-literal-require */
import { entry } from './constants';

export default require(entry);
module.exports = require(entry);
const m = require(entry);

export default m.default;

0 comments on commit 9d210e6

Please sign in to comment.