1
0
mirror of synced 2026-09-12 04:09:50 +00:00

Update to Node 24

Closes gh-19689

Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
This commit is contained in:
Josh Cummings
2026-09-09 19:37:22 -06:00
parent e9eb3d0879
commit 70a74edaad
4 changed files with 7 additions and 3 deletions
+4
View File
@@ -20,3 +20,7 @@ import chai from "chai";
// By default, chai truncates at 40 characters, making it difficult to
// compare e.g. error messages
chai.config.truncateThreshold = 0;
// Node defines `navigator` as a getter-only global, which the tests replace with
// a stub. Redefine it as a writable property so that assignment works.
Object.defineProperty(globalThis, "navigator", { value: undefined, writable: true, configurable: true });