From 3419405c54117d549ae45a458f3603cb26ad904c Mon Sep 17 00:00:00 2001 From: Jeff Yates Date: Mon, 28 Aug 2023 17:46:46 -0500 Subject: [PATCH] =?UTF-8?q?[=F0=9F=94=A5AUDIT=F0=9F=94=A5]=20[fixoversight?= =?UTF-8?q?]=20Remove=20erroneous=20jest.mock=20call=20(#874)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🖍 _This is an audit!_ 🖍 ## Summary: Issue: XXX-XXXX ## Test plan: `yarn test` Author: somewhatabstract Auditors: #frontend-infra-web Required Reviewers: Approved By: Checks: ⌛ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x), ⏭ dependabot, ⌛ gerald, ⌛ Analyze (javascript) Pull Request URL: https://github.com/Khan/wonder-stuff/pull/874 --- .changeset/many-pillows-hear.md | 2 ++ .../src/jest/__tests__/after-each-restore-env.test.ts | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .changeset/many-pillows-hear.md diff --git a/.changeset/many-pillows-hear.md b/.changeset/many-pillows-hear.md new file mode 100644 index 00000000..a845151c --- /dev/null +++ b/.changeset/many-pillows-hear.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/wonder-stuff-testing/src/jest/__tests__/after-each-restore-env.test.ts b/packages/wonder-stuff-testing/src/jest/__tests__/after-each-restore-env.test.ts index acece9a1..863ec668 100644 --- a/packages/wonder-stuff-testing/src/jest/__tests__/after-each-restore-env.test.ts +++ b/packages/wonder-stuff-testing/src/jest/__tests__/after-each-restore-env.test.ts @@ -1,7 +1,5 @@ import {afterEachRestoreEnv} from "../after-each-restore-env"; -jest.mock("../internal/jest-wrappers"); - describe("#afterEachRestoreEnv", () => { const EXISTS_1 = process.env.EXISTS_1; const EXISTS_2 = process.env.EXISTS_2;