@leaflink/dom-testing-utils 0.0.0-PR-66--26a6efb → 0.0.0-PR-70--592bbad

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -253,9 +253,9 @@ or you can customize the response
253
253
  ```ts
254
254
  mockGetEndpoint('/relative-url', (req, res, ctx) => {
255
255
  if (someConditional()) {
256
- res(ctx.json(true));
256
+ HttpResponse.json({ foo: 'bar' });
257
257
  } else {
258
- res(ctx.json(false));
258
+ HttpResponse.json({ foo: 'baz' });
259
259
  }
260
260
  });
261
261
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflink/dom-testing-utils",
3
- "version": "0.0.0-PR-66--26a6efb",
3
+ "version": "0.0.0-PR-70--592bbad",
4
4
  "description": "Frontend DOM testing utilities",
5
5
  "engines": {
6
6
  "node": ">=16",