Skip to content

Using happy-dom instead of jsdom? #340

@Uninen

Description

@Uninen

I'm using vitest, which aims to be for Jest what Vite is for webpack. Vitest defaults to happy-dom which is a faster and SSR-cabable alternative to jsdom. Is there a way to configure Pretender to using happy-dom instead of jsdom? (Not using Pretender first-party but Miragejs uses it and it allows full configuration for it as well.)

Apologies if this is the wrong place for user questions, didn't find anything from the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions