Create your own GitHub profile
Sign up for your own profile on GitHub, the best place to host code, manage projects, and build software alongside 50 million developers.
Sign up
Pinned
1,931 contributions in the last year
Contribution activity
June 2020
- kettanaito/site JavaScript
- kettanaito/react-testing-library-examples JavaScript
- kettanaito/react-testing-library JavaScript
- kettanaito/next.js JavaScript
- kettanaito/testing-library-docs JavaScript
Created a pull request in vercel/next.js that received 11 comments
Add MSW usage example
Summary This example illustrates how to use the Mock Service Worker (MSW) library with Next. It allows users to kick off a full-scale project with …
+391
−0
•
11
comments
- Splits CI pipeline into workflows
- Adds HTTP redirect integration test
- graphql: Exports request, context, and other types
- Removes "composeMocks" API
- Adds missing unit tests
- Warns on the redundant usage of query parameters
- Adds OS Awards badge to README
- Structures and improves the README
- Uses a non-existing domain in integration tests
- graphql: Supports operations issued using GET method
- Bumps NRI to implement "setNoDelay" on the polyfilled Socket class
- Disables hot reloading for test runs (WDS)
- Defers network requests until Service Worker is ready
- Uses actual repository URL in the activation message
- resolveRelativeUrl: Handles "location" object in Node
- Update documentation links
- fix: improve error message on registration failed
- setupServer: use timers module
- Add a friently error message when you call setupServer in the browser
- Warns on the redundant usage of query parameters
- Remove unnecessary serialization
- Use userEvent instead of fireEvent (as it is not imported / consistency)
- Update test domain to mswjs.io
- Remove request json parsing from the worker file
- add realistic server response delay to ctx.delay()
- Defers network requests until Service Worker is ready
Created an issue in mswjs/msw that received 7 comments
Using "ctx.delay" without arguments should add a realistic server response delay
Is your feature request related to a problem? Please describe. Quite often you would want a mocked response to behave similar to the actual respons…
7
comments
- Split CI pipeline
- Display a meaningful error message when worker module is not found
- Remove "composeMocks" from the public API
- "SyntaxError: invalid regexp group" for "REST - Params" example in Firefox
- setupServer: ReferenceError: location is not defined
- Defer actual requests until mocks are ready by default
- Ship unbuilt modules
- Include request ID in `debug` calls
- Respect "username" and "password" when constructing a URL from RequestOptions
- Socket.setNoDelay: TypeError: Cannot read property 'apply' of undefined
- Handle request "credentials" for browser-like environments
- ClientRequest headers are not normalized