Skip to content
This repository was archived by the owner on Jan 28, 2020. It is now read-only.

Commit 7da5678

Browse files
committed
Change module exports
1 parent 41b1d1f commit 7da5678

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

__tests__/add.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import add from '../src/add';
1+
import { add } from '../src';
22

33
describe('add', () => {
44
it('adds positive numbers correctly', () => {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import add from './add';
22

3-
export default {
3+
export {
44
add,
55
};

0 commit comments

Comments
 (0)