Skip to content

Commit

Permalink
test of CI test (I can't do it locally)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanej committed Dec 15, 2023
1 parent 9c6a459 commit da7b224
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe("CI - basic success case", function () {

useHardhatProject("ci-success");

it("should succeed in a CI environment", async function () {
it.only("should succeed in a CI environment", async function () {

Check failure on line 12 in packages/core/test-integrations/new-api/ci/basic-success.ts

View workflow job for this annotation

GitHub Actions / Lint the project

it.only not permitted
await assert.isFulfilled(
this.hre.run(
{ scope: "ignition", task: "deploy" },
Expand Down
9 changes: 4 additions & 5 deletions packages/hardhat-plugin/src/ui/pretty-event-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import {
TransactionSendEvent,
WipeApplyEvent,
} from "@nomicfoundation/ignition-core";
import readline from "readline";

import { calculateBatchDisplay } from "./helpers/calculate-batch-display";
import { calculateDeployingModulePanel } from "./helpers/calculate-deploying-module-panel";
Expand Down Expand Up @@ -453,12 +452,12 @@ export class PrettyEventHandler implements ExecutionEventListener {
}

private _clearCurrentLine(): void {
readline.clearLine(process.stdout, 0);
readline.cursorTo(process.stdout, 0);
process.stdout.clearLine(0);
process.stdout.cursorTo(0);
}

private _clearUpToHeight(height: number) {
readline.moveCursor(process.stdout, 0, -height);
readline.clearScreenDown(process.stdout);
process.stdout.moveCursor(0, -height);
process.stdout.clearScreenDown();
}
}

0 comments on commit da7b224

Please sign in to comment.