uppy/packages/@uppy/aws-s3/test-setup.mjs
Merlijn Vos 7c609a56d9
Use turbo for all unit tests (#5815)
- Upgrade vitest from 1.x to 3.x.
  - Fix some tests that now became more strict and started failing
-  Add test command to all packages + needed dependencies
- Add turbo config for running tests

Another PR will completely redo the e2e test suite.
2025-07-12 13:21:35 +02:00

4 lines
104 B
JavaScript

import { webcrypto } from 'node:crypto'
import { vi } from 'vitest'
vi.stubGlobal('crypto', webcrypto)