Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix wrong function usage in test
  • Loading branch information
kamilkisiela committed Jan 4, 2017
commit 5fe7970cf0f0d05426e15409082da392e066c43a
2 changes: 1 addition & 1 deletion test/mutationResults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ describe('mutation results', () => {
reducer: (previousResult, action, variables: any) => {
counter++;
if (isMutationResultAction(action) && variables['id'] === 5) {
const newResult = clonedeep(previousResult) as any;
const newResult = cloneDeep(previousResult) as any;
newResult.todoList.todos.unshift(action.result.data.createTodo);
return newResult;
}
Expand Down