Skip to content

Commit

Permalink
Merge pull request #183 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 committed Dec 7, 2021
2 parents 1b96910 + 20c7ac7 commit 02ae337
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/collector/__tests__/getGlobalConfig.test.ts
@@ -1,5 +1,5 @@
import * as fs from "fs";
import { mocked } from "ts-jest/utils";
import { mocked } from "jest-mock";

import { getGlobalConfig } from "../src/getGlobalConfig";

Expand Down
2 changes: 1 addition & 1 deletion packages/collector/__tests__/getProjectListing.test.ts
@@ -1,4 +1,4 @@
import { mocked } from "ts-jest/utils";
import { mocked } from "jest-mock";

import { getProjectInfo } from "../src/getProjectInfo";
import { getProjectIssues } from "../src/getProjectIssues";
Expand Down
2 changes: 1 addition & 1 deletion packages/collector/__tests__/run.test.ts
@@ -1,6 +1,6 @@
import * as fs from "fs";
import * as core from "@actions/core";
import { mocked } from "ts-jest/utils";
import { mocked } from "jest-mock";

import { getGlobalConfig } from "../src/getGlobalConfig";
import { getProjectListing } from "../src/getProjectListing";
Expand Down

0 comments on commit 02ae337

Please sign in to comment.