Skip to content

Use service workers in component testing #16742

@lmiller1990

Description

@lmiller1990

Current behavior

Weird behavior with service workers (or at least, mock service worker) in component testing.

See: mswjs/msw#744

Desired behavior

It should work.

Test code to reproduce

mswjs/msw#744 (comment)

Versions

  • msw: 0.28.2
  • nodejs: 14.14.0
  • npm: 6.4.8
  • browser: Chromium opened by cypress

Metadata

Metadata

Assignees

No one assigned

    Labels

    CTIssue related to component testingtype: unexpected behaviorUser expected result, but got another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions