From b6604364aeaaee3b555a8e0fe78000de8460954c Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Mon, 12 Dec 2022 07:28:47 +0000 Subject: [PATCH] Deleted stateprovider tests until added --- __tests__/stateProvider.test.ts | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 __tests__/stateProvider.test.ts diff --git a/__tests__/stateProvider.test.ts b/__tests__/stateProvider.test.ts deleted file mode 100644 index abbc7f3..0000000 --- a/__tests__/stateProvider.test.ts +++ /dev/null @@ -1,20 +0,0 @@ -import * as cache from "@actions/cache"; -import * as core from "@actions/core"; - -import { Events, RefKey } from "../src/constants"; -import * as actionUtils from "../src/utils/actionUtils"; -import * as testUtils from "../src/utils/testUtils"; - -jest.mock("@actions/core"); -jest.mock("@actions/cache"); - -beforeAll(() => { - jest.spyOn(core, "getInput").mockImplementation((name, options) => { - return jest.requireActual("@actions/core").getInput(name, options); - }); -}); - -afterEach(() => { - delete process.env[Events.Key]; - delete process.env[RefKey]; -});