From 7125d89c016ee92aa267eb147b44bde545436849 Mon Sep 17 00:00:00 2001 From: Barrett LaFrance Date: Thu, 31 Oct 2024 08:39:36 -0500 Subject: [PATCH] wip: saving progress --- src/cli/init/walkthrough.test.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/cli/init/walkthrough.test.ts b/src/cli/init/walkthrough.test.ts index fd2b69a97..92863bd22 100644 --- a/src/cli/init/walkthrough.test.ts +++ b/src/cli/init/walkthrough.test.ts @@ -1,7 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2023-Present The Pepr Authors -import { afterAll, beforeAll, describe, expect, it, jest } from "@jest/globals"; +import { describe, expect, it } from "@jest/globals"; import prompts from "prompts"; import { walkthrough, @@ -13,19 +13,6 @@ import { } from "./walkthrough"; describe("when processing input", () => { - let consoleLog: jest.Spied; - let consoleError: jest.Spied; - - beforeAll(() => { - consoleLog = jest.spyOn(console, "log").mockImplementation(() => {}); - consoleError = jest.spyOn(console, "error").mockImplementation(() => {}); - }); - - afterAll(() => { - consoleLog.mockRestore(); - consoleError.mockRestore(); - }); - describe("walkthough() returns expected results", () => { it.each([ //Test flag combinations with [["$FLAG", ...]]