mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-04-19 04:48:59 +01:00
Removed preview label from DDM (#2442)
* Removed preview label from DDM * Fix vector policy Playwright tests to handle shared container state and Node 19+ crypto * fixed lint error * updated lint --------- Co-authored-by: Sakshi Gupta <sakshig@microsoft.com>
This commit is contained in:
@@ -18,7 +18,12 @@ import {
|
||||
subscriptionId,
|
||||
TestAccount,
|
||||
} from "./fx";
|
||||
globalThis.crypto = webcrypto as Crypto;
|
||||
|
||||
// In Node.js >= 19, globalThis.crypto is already available as a read-only getter.
|
||||
// Only assign the polyfill for older versions.
|
||||
if (!globalThis.crypto) {
|
||||
Object.defineProperty(globalThis, "crypto", { value: webcrypto, writable: true, configurable: true });
|
||||
}
|
||||
|
||||
export interface TestItem {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user