Skip to content

Commit

Permalink
qe-wasm: Fix test runner on Node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
SevInf committed Dec 6, 2023
1 parent 2a2565a commit d7ad5d5
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 d7ad5d5

Please sign in to comment.