Skip to content

Commit 488b3dd

Browse files
committed
fix exports for mocking
1 parent 27bf429 commit 488b3dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import c from './combine-reducers';
22
import m from './merge-child-reducers';
33

4-
export const combineReducers = c;
5-
export const mergeChildReducers = m;
4+
//by exporting functions, these are able to be spied on
5+
export function combineReducers(...args){return c(...args);}
6+
export function mergeChildReducers(...args){return m(...args);}

0 commit comments

Comments
 (0)