Skip to content

not usable with msw ? #95

@0xCAFEADD1C7

Description

@0xCAFEADD1C7

Hello there 👋

I'm discovering this lib, which seems great. I tried to integrate it in our codebase, however I have a strange behaviour, I'm using msw and my test don't pass anymore 🤔

It seems that the calls made with the wrapped fetched are not mocked anymore by msw. I made a simple repro here : https://github.com/0xCAFEADD1C7/fetch-retry-issue-repro

tried with node v20 and 22 and same issue. Also tried with the lib at version 6.0.0 and 5.0.6, same issue :/

Does it ring a bell to anyone ? Did I miss something obvious ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions