Skip to content
This repository was archived by the owner on Aug 7, 2022. It is now read-only.
This repository was archived by the owner on Aug 7, 2022. It is now read-only.

Add support for mocking the Web Crypto API #17

@wuservices

Description

@wuservices

I'm trying to test code that does something like crypto.subtle.digest('MD5', body). However, when I run the test, I get the error ReferenceError: crypto is not defined.

Do the mocks need to be augmented to add support for the crypto API?

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions