File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import path from "path";
44import ts from "typescript" ;
55import * as config from "../config" ;
66import { 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 ( / ^ n u l l ( $ | \r ? \n ) / m) ;
39+ expect ( res ) . toMatch ( / ^ n u l l ( $ | \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 ( / ^ n u l l ( $ | \r ? \n ) / ) ;
44+ expect ( res ) . toMatch ( / ^ n u l l ( $ | \r ? \n ) / ) ;
4645 } ) ;
4746 } ) ;
4847 } ) ;
Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments