Skip to content

Commit

Permalink
Remove ESLint overrides
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew W. Harn <[email protected]>
  • Loading branch information
awharn committed Jan 11, 2024
1 parent 82cca33 commit 869c4df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ describe("Command Response", () => {
expect(response.buildJsonResponse().stderr.toString()).toEqual(beforeMessage + "\n" + duringMessage + "\n" + afterMessage + "\n");
});

it("should not show a progress bar if FORCE_COLOR is set to 0", () => { // eslint-disable-line jest/no-done-callback
it("should not show a progress bar if FORCE_COLOR is set to 0", () => {
process.env.FORCE_COLOR = "0";
const response = new CommandResponse({ silent: false, responseFormat: "default", stream });
const status: ITaskWithStatus = {
Expand All @@ -306,7 +306,7 @@ describe("Command Response", () => {
expect((response.progress as any).mProgressBarInterval).not.toBeDefined();
});

it("should not show a progress bar if CI is set", () => { // eslint-disable-line jest/no-done-callback
it("should not show a progress bar if CI is set", () => {
process.env.CI = "true";
jest.spyOn(TextUtils, "chalk").mockImplementation(() => {
return {level: 1, enabled: true};
Expand Down

0 comments on commit 869c4df

Please sign in to comment.