Skip to content

Commit

Permalink
Merge pull request #17 from edx/djoy/svgrMock_fix
Browse files Browse the repository at this point in the history
fix: make svgr mock produce better exports
  • Loading branch information
davidjoy committed Nov 1, 2019
2 parents f55ad6c + 9c0fb35 commit 5e8766b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/jest/svgrMock.js
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
module.exports = { ReactComponent: 'IconMock' };
export const ReactComponent = 'IconMock';

const mock = 'icon/mock/path';
export default mock;

0 comments on commit 5e8766b

Please sign in to comment.