Skip to content

Commit

Permalink
test: fix lines of .snapshot of loader module
Browse files Browse the repository at this point in the history
Increment the line number in `.snapshot` file since we have add
the `require()` instruction of `getCwdSafe` in
`internal/modules/cjs/loader.js` file.
  • Loading branch information
jlenon7 committed Jun 12, 2023
1 parent b52c56a commit eb37022
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/fixtures/errors/force_colors.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ throw new Error('Should include grayed stack trace')

Error: Should include grayed stack trace
at Object.<anonymous> (/test*force_colors.js:1:7)
 at Module._compile (node:internal*modules*cjs*loader:1255:14)
 at Module._extensions..js (node:internal*modules*cjs*loader:1309:10)
 at Module.load (node:internal*modules*cjs*loader:1113:32)
 at Module._load (node:internal*modules*cjs*loader:960:12)
 at Module._compile (node:internal*modules*cjs*loader:1256:14)
 at Module._extensions..js (node:internal*modules*cjs*loader:1310:10)
 at Module.load (node:internal*modules*cjs*loader:1114:32)
 at Module._load (node:internal*modules*cjs*loader:961:12)
 at Function.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:83:12)
 at node:internal*main*run_main_module:23:47

Expand Down

0 comments on commit eb37022

Please sign in to comment.