Skip to content

Commit

Permalink
Merge pull request #738 from skaut/mocked-jest-mock
Browse files Browse the repository at this point in the history
Using the mocked method from jest instead of ts-jest
  • Loading branch information
marekdedic authored Dec 7, 2021
2 parents 7c86679 + 269aea7 commit bb2f8d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion __tests__/backend/move.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { mocked } from "ts-jest/utils";
import { mocked } from "jest-mock";

import { move } from "../../src/backend/move";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/backend/move/moveFile.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { mocked } from "ts-jest/utils";
import { mocked } from "jest-mock";

import { moveFile_ } from "../../../src/backend/move/moveFile";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/backend/move/moveFolderContents.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { mocked } from "ts-jest/utils";
import { mocked } from "jest-mock";

import { moveFolderContents_ } from "../../../src/backend/move/moveFolderContents";

Expand Down
2 changes: 1 addition & 1 deletion __tests__/backend/move/resolveDestinationFolder.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { mocked } from "ts-jest/utils";
import { mocked } from "jest-mock";

import { resolveDestinationFolder_ } from "../../../src/backend/move/resolveDestinationFolder";

Expand Down

0 comments on commit bb2f8d6

Please sign in to comment.