Skip to content

Commit

Permalink
qe-wasm: Fix RNG on Node 18 in a test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
SevInf committed Dec 6, 2023
1 parent c7c8586 commit ff9a51b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ import { PrismaPlanetScale } from '@prisma/adapter-planetscale'


import {bindAdapter, DriverAdapter, ErrorCapturingDriverAdapter} from "@prisma/driver-adapter-utils";
import { webcrypto } from 'node:crypto';

(global as any).crypto = webcrypto


const SUPPORTED_ADAPTERS: Record<string, (_ : string) => Promise<DriverAdapter>>
Expand Down

0 comments on commit ff9a51b

Please sign in to comment.