[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

test: fix webcrypto on node 18 (#6892)

authored by

Hiroshi Ogawa and committed by
GitHub
(Nov 11, 2024, 9:56 AM +0200) 07c19b8a 00ebea64

+1
+1
test/test-utils/index.ts
··· 2 2 import type { UserConfig as ViteUserConfig } from 'vite' 3 3 import type { WorkspaceProjectConfiguration } from 'vitest/config' 4 4 import type { UserConfig, Vitest, VitestRunMode } from 'vitest/node' 5 + import { webcrypto as crypto } from 'node:crypto' 5 6 import fs from 'node:fs' 6 7 import { Readable, Writable } from 'node:stream' 7 8 import { fileURLToPath } from 'node:url'