Skip to content

Commit

Permalink
fixup: normalize slashes to forward slashes for comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Mar 27, 2024
1 parent ee9f774 commit 71073d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/e2e-tests/test/e2e-snapshot.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ describe('e2e startup banners', function () {
TestShell.runAndGetOutputWithoutErrors({ args })
)
)
).map((output) => JSON.parse(output).sort() as string[]);
).map((output) =>
(JSON.parse(output) as string[])
.sort()
.map((pkg) => pkg.replace(/\\/g, '/'))
);

// Ensure that: atSnapshotTime ⊆ atNodbEvalTime ⊆ atDbEvalTime ⊆ atReplEvalTime ⊆ all
expectIsSubset(atSnapshotTime, atNodbEvalTime);
Expand Down

0 comments on commit 71073d1

Please sign in to comment.