We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using a handler like
export const getAccountMSW = () => [ rest.get('http://localhost:8080/account', (_req, res, ctx) => { return res(ctx.delay(1000), ctx.status(200, 'Mocked status'), ctx.json(getAccountMock())); }), ];
in msw results in times around one second:
When using playwright-msw with the same handler the delay seems to be ignored (1-6ms RTT)
The text was updated successfully, but these errors were encountered:
The fix works. Would love to see it in the next release :D
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Using a handler like
in msw results in times around one second:
When using playwright-msw with the same handler the delay seems to be ignored (1-6ms RTT)
The text was updated successfully, but these errors were encountered: