Skip to content

Commit

Permalink
Import 'node:crypto'
Browse files Browse the repository at this point in the history
  • Loading branch information
genki committed Feb 15, 2024
1 parent 6bae2f9 commit 35a7b6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/qwik/src/core/util/string.unit.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { test, expect } from 'vitest';
import { packUint8Array, unpackUint8Array } from './string';
import crypto from 'node:crypto';

test('pack/unpack bytes including surrogate pair', () => {
const a = new Uint8Array([66, 216, 183, 223, 206, 145, 182, 91]);
Expand Down

0 comments on commit 35a7b6d

Please sign in to comment.