Skip to content

Commit

Permalink
Fix tests for #185
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-ignatov committed Aug 23, 2024
1 parent 79df74a commit 328d580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/security.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-ignore These tests cannot run without webcrypto
if (+process.version.replace(/^v/, "").split(".").shift() < 16) return;

var crypto = require('node:crypto').webcrypto;
global.crypto = require('node:crypto').webcrypto;

import { expect } from "@hapi/code";
import { fhirclient } from "../src/types";
Expand Down

0 comments on commit 328d580

Please sign in to comment.