Browse Source

test: fixup parallel/test-node-output-error test (#39972)

John Kleinschmidt 1 year ago
parent
commit
943bfa89ce

+ 2 - 2
patches/node/chore_update_fixtures_errors_force_colors_snapshot.patch

@@ -11,7 +11,7 @@ trying to see whether or not the lines are greyed out. One possibility
 would be to upstream a changed test that doesn't hardcode line numbers.
 
 diff --git a/test/fixtures/errors/force_colors.snapshot b/test/fixtures/errors/force_colors.snapshot
-index 4c33acbc2d5c12ac8750b72e0796284176af3da2..5ba11dadad6d905a1eb67ed1c89c59f3c3f686ec 100644
+index 4c33acbc2d5c12ac8750b72e0796284176af3da2..56fae731aeec1f3a2870fba56eb0fb24e5d4b87f 100644
 --- a/test/fixtures/errors/force_colors.snapshot
 +++ b/test/fixtures/errors/force_colors.snapshot
 @@ -4,11 +4,12 @@ throw new Error('Should include grayed stack trace')
@@ -27,7 +27,7 @@ index 4c33acbc2d5c12ac8750b72e0796284176af3da2..5ba11dadad6d905a1eb67ed1c89c59f3
 +    at Module._extensions..js (node:internal*modules*cjs*loader:1326:10)
 +    at Module.load (node:internal*modules*cjs*loader:1126:32)
 +    at Module._load (node:internal*modules*cjs*loader:967:12)
-+    at Module._load (node:electron*js2c*asar_bundle:777:32)
++    at Module._load (node:electron*js2c*asar_bundle:763:32)
 +    at Function.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:101:12)
      at node:internal*main*run_main_module:23:47