Skip to content

Commit daca39c

Browse files
authored
Fix typo in error message from overmind mock
I got this error when I forgot to mock out an effect.
1 parent 0c3722b commit daca39c

File tree

1 file changed

+1
-1
lines changed
  • packages/node_modules/overmind/src

1 file changed

+1
-1
lines changed

packages/node_modules/overmind/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export function createOvermindMock<Config extends IConfiguration>(
165165

166166
if (!mockedEffect || (mockedEffect && !mockedEffect[effect.method])) {
167167
throw new Error(
168-
`The effect "${effect.name}" with metod ${
168+
`The effect "${effect.name}" with method ${
169169
effect.method
170170
} has not been mocked`
171171
)

0 commit comments

Comments
 (0)