We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 489ccc6 commit 472d2c8Copy full SHA for 472d2c8
lib/connection.js
@@ -30,7 +30,7 @@ const sessionNewDocuments = require('./helpers/symbols').sessionNewDocuments;
30
31
// Snapshot the native Date constructor to ensure both Date.now() and new Date() (and other Date methods)
32
// bypass timer mocks such as those set up by useFakeTimers().
33
-const Date = global.Date;
+const Date = globalThis.Date;
34
35
/**
36
* A list of authentication mechanisms that don't require a password for authentication.
0 commit comments