python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Service worker in a webpack module federation environment
I have a small setup with webpack module federation, one container app and one remote. The remote is exposing itself completely and the container is consuming it to show it after clicking a navigation...
koengsen
Votes: 0
Answers: 1
mock service worker, sad path test failure
Recently just using Mock Service Worker to test my HTTP requests, i'm looking to test my failure path.
My first test passes (happy), but the error i'm receiving for my failure is "Unexpected end ...
fluffy-lionz
Votes: 0
Answers: 2
Test failing case with React, Jest, React-Testing-Library
For this test case, I am testing a form to see if an error message appears in the DOM after the form is submitted and the response from the server returns with an error. I am using 'MSW' (Mocked Servi...
ninjarogue
Votes: 0
Answers: 2
Mocking GraphQL API with MSW for Testing
I'm trying to mock graphql API for testing react app but facing a problem
the handler is:
import { graphql } from 'msw'
export const postsGql = [
{
userId: 1,
id: 1,
title: 'first p...
sajad.sharhani
Votes: 0
Answers: 0