Compare commits

...

2 Commits

Author SHA1 Message Date
PatchUp
cfcd5cfc19 chore: update patches 2023-09-11 09:29:27 +00:00
Shelley Vohr
34ea636c68 test: make color snapshot matching fuzzier 2023-09-11 11:12:56 +02:00

View File

@@ -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 0334a0b4faa3633aa8617b9538873e7f3540513b..0300d397c6a5b82ef2d0feafca5f8bd746b1f5b0 100644
index 0334a0b4faa3633aa8617b9538873e7f3540513b..07b7e0d23e0096eb3ec2e66f98686863e2e38b55 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')
@@ -23,12 +23,12 @@ index 0334a0b4faa3633aa8617b9538873e7f3540513b..0300d397c6a5b82ef2d0feafca5f8bd7
- at Module.load (node:internal*modules*cjs*loader:1119:32)
- at Module._load (node:internal*modules*cjs*loader:960:12)
- at Function.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:81:12)
+ at Module._compile (node:internal*modules*cjs*loader:1271:14)
+ at Object..js (node:internal*modules*cjs*loader:1326:10)
+ at Module.load (node:internal*modules*cjs*loader:1126:32)
+ at node:internal*modules*cjs*loader:967:12
+ at Function._load (node:electron*js2c*asar_bundle:776:32)
+ at Function.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:96:12)
+ at Module._compile (node:internal*modules*cjs*loader:*:*)
+ at Object..js (node:internal*modules*cjs*loader:*:*)
+ at Module.load (node:internal*modules*cjs*loader:*:*)
+ at node:internal*modules*cjs*loader:*:*
+ at Function._load (node:electron*js2c*asar_bundle:*:*)
+ at Function.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:*:*)
 at node:internal*main*run_main_module:23:47
Node.js *