File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-20.04
1010 env :
1111 PUPPETEER_CACHE_DIR : " ${{ github.workspace }}/.puppeteer_download"
12+ FORCE_COLOR : " 1"
1213 steps :
1314 - uses : actions/checkout@v4
1415
Original file line number Diff line number Diff line change @@ -38,6 +38,11 @@ function normalize (actual) {
3838 // ESM-style internal traces from Node 14+:
3939 // Convert "at wrap (node:internal/modules/cjs/loader:1)" to "at internal"
4040 . replace ( / ^ ( \s + a t ) .+ \( [ ^ / ) ] [ ^ ) ] * \) $ / gm, '$1internal' )
41+ // ESM-style internal traces from Node 22+ that NYC corrupts
42+ // https://github.com/istanbuljs/nyc/issues/1589
43+ // from "at Object..js (node:internal/modules/cjs/loader:1904:10)"
44+ // to "at node:internal/modules/cjs/loader:1904:10"
45+ . replace ( / ^ ( \s + a t ) n o d e : [ ^ ) ] + $ / gm, '$1internal' )
4146
4247 // Convert /bin/qunit and /src/cli to internal as well
4348 // Because there are differences between Node 10 and Node 12 in terms
You can’t perform that action at this time.
0 commit comments