Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
anniel-stripe committed Feb 7, 2023
1 parent 939cb59 commit a52996c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/PlatformFunctions.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

require('../testUtils');
const webcrypto = require('crypto').webcrypto;

import fs = require('fs');
import path = require('path');
Expand All @@ -12,8 +13,6 @@ import SubtleCryptoProvider = require('../lib/crypto/SubtleCryptoProvider');
import {FetchHttpClient} from '../lib/net/FetchHttpClient';
import {NodeHttpClient} from '../lib/net/NodeHttpClient';
import {expect} from 'chai';
import {webcrypto} from 'crypto';

let platforms: Record<string, PlatformFunctions>;

if (process.versions.node < '15') {
Expand Down

0 comments on commit a52996c

Please sign in to comment.