File tree 3 files changed +2
-5
lines changed
3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 15
15
"@types/jest" : " ^29.5.12" ,
16
16
"jest" : " ^29.7.0" ,
17
17
"nx" : " ^15.9.7" ,
18
- "strip-ansi" : " ^6.0.1" ,
19
18
"ts-expose-internals" : " ^4.9.5" ,
20
19
"ts-jest" : " ^29.2.4" ,
21
20
"ts-node" : " ^10.9.2" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import path from "path";
4
4
import ts from "typescript" ;
5
5
import * as config from "../config" ;
6
6
import { execSync } from "child_process" ;
7
- import stripAnsi from "strip-ansi" ;
8
7
9
8
/* ****************************************************************************************************************** *
10
9
* Tests
@@ -37,12 +36,12 @@ describe(`Extra Tests`, () => {
37
36
describe ( `ts-node register script` , ( ) => {
38
37
test ( `Works with --transpileOnly` , ( ) => {
39
38
const res = execSync ( "yarn g:ts-node --transpileOnly src/index.ts" , { cwd : projectRoot } ) . toString ( ) ;
40
- expect ( stripAnsi ( res ) ) . toMatch ( / ^ n u l l ( $ | \r ? \n ) / m) ;
39
+ expect ( res ) . toMatch ( / ^ n u l l ( $ | \r ? \n ) / m) ;
41
40
} ) ;
42
41
43
42
test ( `Works with --typeCheck` , ( ) => {
44
43
const res = execSync ( "yarn g:ts-node --typeCheck src/index.ts" , { cwd : projectRoot } ) . toString ( ) ;
45
- expect ( stripAnsi ( res ) ) . toMatch ( / ^ n u l l ( $ | \r ? \n ) / ) ;
44
+ expect ( res ) . toMatch ( / ^ n u l l ( $ | \r ? \n ) / ) ;
46
45
} ) ;
47
46
} ) ;
48
47
} ) ;
Original file line number Diff line number Diff line change @@ -8085,7 +8085,6 @@ __metadata:
8085
8085
" @types/jest " : " npm:^29.5.12"
8086
8086
jest : " npm:^29.7.0"
8087
8087
nx : " npm:^15.9.7"
8088
- strip-ansi : " npm:^6.0.1"
8089
8088
ts-expose-internals : " npm:^4.9.5"
8090
8089
ts-jest : " npm:^29.2.4"
8091
8090
ts-node : " npm:^10.9.2"
You can’t perform that action at this time.
0 commit comments