Skip to content

Commit

Permalink
chore(deps-dev): remove strip-ansi
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpza committed Aug 18, 2024
1 parent 0a51567 commit 2fc9901
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"nx": "^15.9.7",
"strip-ansi": "^6.0.1",
"ts-expose-internals": "^4.9.5",
"ts-jest": "^29.2.4",
"ts-node": "^10.9.2",
Expand Down
5 changes: 2 additions & 3 deletions test/tests/extras.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import path from "path";
import ts from "typescript";
import * as config from "../config";
import { execSync } from "child_process";
import stripAnsi from "strip-ansi";

/* ****************************************************************************************************************** *
* Tests
Expand Down Expand Up @@ -37,12 +36,12 @@ describe(`Extra Tests`, () => {
describe(`ts-node register script`, () => {
test(`Works with --transpileOnly`, () => {
const res = execSync("yarn g:ts-node --transpileOnly src/index.ts", { cwd: projectRoot }).toString();
expect(stripAnsi(res)).toMatch(/^null($|\r?\n)/m);
expect(res).toMatch(/^null($|\r?\n)/m);
});

test(`Works with --typeCheck`, () => {
const res = execSync("yarn g:ts-node --typeCheck src/index.ts", { cwd: projectRoot }).toString();
expect(stripAnsi(res)).toMatch(/^null($|\r?\n)/);
expect(res).toMatch(/^null($|\r?\n)/);
});
});
});
Expand Down
1 change: 0 additions & 1 deletion test/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8085,7 +8085,6 @@ __metadata:
"@types/jest": "npm:^29.5.12"
jest: "npm:^29.7.0"
nx: "npm:^15.9.7"
strip-ansi: "npm:^6.0.1"
ts-expose-internals: "npm:^4.9.5"
ts-jest: "npm:^29.2.4"
ts-node: "npm:^10.9.2"
Expand Down

0 comments on commit 2fc9901

Please sign in to comment.