Skip to content

Commit ed38ea0

Browse files
committed
[splendo#9] Moved variable to mockObjects.ts
1 parent 0974da8 commit ed38ea0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

hearthstone/__tests__/redux/actions/cardAction.test.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ import { MockStore } from 'redux-mock-store';
44
import CardService from '../../../src/services/cardService';
55
import ServiceFactory from '../../../src/services/serviceFactory';
66
import { spyRejects, spyResolves } from '../../testUtils/promiseUtils';
7-
import { dummyCardArray } from '../../__mocks__/mockObjects';
8-
9-
const cardNotFoundError = "Cards not Found!";
7+
import { dummyCardArray, cardNotFoundError } from '../../__mocks__/mockObjects';
108

119
const mockCardServiceFailure = (error?: any): CardService => {
1210
return {

0 commit comments

Comments
 (0)