File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/node_modules/overmind/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ function deepCopy(obj) {
7171 return obj
7272}
7373
74- export function createMock < Config extends Configuration > (
74+ export function createOvermindMock < Config extends Configuration > (
7575 config : Config ,
7676 mockedEffects ?: NestedPartial < Config [ 'effects' ] >
7777) : {
Original file line number Diff line number Diff line change 1- import { createMock , IAction } from './'
1+ import { createOvermindMock , IAction } from './'
22
33type State = {
44 foo : string
@@ -29,13 +29,13 @@ describe('Mock', () => {
2929
3030 interface Action < Input = void > extends IAction < Config , Input > { }
3131
32- const mock = createMock ( config , {
32+ const overmind = createOvermindMock ( config , {
3333 effect ( ) {
3434 return 'bar3'
3535 } ,
3636 } )
3737
38- return mock . actions . test ( ) . then ( ( result ) =>
38+ return overmind . actions . test ( ) . then ( ( result ) =>
3939 expect ( result ) . toEqual ( [
4040 {
4141 method : 'set' ,
You can’t perform that action at this time.
0 commit comments