Skip to content

Commit

Permalink
wip: saving progress
Browse files Browse the repository at this point in the history
  • Loading branch information
btlghrants committed Oct 31, 2024
1 parent 910af12 commit 7125d89
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/cli/init/walkthrough.test.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -13,19 +13,6 @@ import {
} from "./walkthrough";

describe("when processing input", () => {
let consoleLog: jest.Spied<typeof console.log>;
let consoleError: jest.Spied<typeof console.error>;

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", ...]]
Expand Down

0 comments on commit 7125d89

Please sign in to comment.