Skip to content

Investigation why browser works and vitest fails

Notifications You must be signed in to change notification settings

Stwissel/kxdbtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kxdbweb Tests

Run the application:

npm install
npm run dev

Works as expected

Run tests (optional with coverage)

npm run test
npm run coverage

fails with:

TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.

What do I miss?

About

Investigation why browser works and vitest fails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published