Skip to content

Commit 2fc9901

Browse files
committed
chore(deps-dev): remove strip-ansi
1 parent 0a51567 commit 2fc9901

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

test/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"@types/jest": "^29.5.12",
1616
"jest": "^29.7.0",
1717
"nx": "^15.9.7",
18-
"strip-ansi": "^6.0.1",
1918
"ts-expose-internals": "^4.9.5",
2019
"ts-jest": "^29.2.4",
2120
"ts-node": "^10.9.2",

test/tests/extras.test.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import path from "path";
44
import ts from "typescript";
55
import * as config from "../config";
66
import { execSync } from "child_process";
7-
import stripAnsi from "strip-ansi";
87

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

4342
test(`Works with --typeCheck`, () => {
4443
const res = execSync("yarn g:ts-node --typeCheck src/index.ts", { cwd: projectRoot }).toString();
45-
expect(stripAnsi(res)).toMatch(/^null($|\r?\n)/);
44+
expect(res).toMatch(/^null($|\r?\n)/);
4645
});
4746
});
4847
});

test/yarn.lock

-1
Original file line numberDiff line numberDiff line change
@@ -8085,7 +8085,6 @@ __metadata:
80858085
"@types/jest": "npm:^29.5.12"
80868086
jest: "npm:^29.7.0"
80878087
nx: "npm:^15.9.7"
8088-
strip-ansi: "npm:^6.0.1"
80898088
ts-expose-internals: "npm:^4.9.5"
80908089
ts-jest: "npm:^29.2.4"
80918090
ts-node: "npm:^10.9.2"

0 commit comments

Comments
 (0)