-
# Mirage has a bug when using the [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) API to download an image [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob).
Her…
-
If I make a synchronous request with `XMLHttpRequest`, the `response` is not returned correctly in time. I think the problem is that the route handlers are always wrapped in a promise, which delays th…
-
Right now Pretender uses iife wrapper to use external deps in the project. Any particular reason for this or just legacy code? If legacy can we move to `import` syntax everywhere and have rollup produ…
-
Given a passthrough defined like so: `this.passthrough('/translations/**');`
When running on a url like so: `http://localhost:9003/3638/tests/index.html`
and the file `translations/en-us.json`
…
-
Hi Team,
I'm looking for a way to following but didn't get any success:
```
this.get('/books', (schema, req) => {
if (req.queryParam.author)
this.passthrough(req => {
…
-
I am sorry for being so emotional about this lab, but it has no preceding explanation regarding any of things that are required to build in it, it is very frustrating and demotivating.
-
Part of https://github.com/pretenderjs/pretender/issues/172, which contains lots of explanatory
writing to make this PR more approachable by those new to Pretender. Check that Issue out!
---
As par…
-
I am using MirageJS which uses pretender but the issue I think lies in pretender.
Trying to mock an API that uses RSQL as a query language. Requests look like the following `/api/films?filter=genre…
cmjio updated
3 years ago
-
Part of https://github.com/pretenderjs/pretender/issues/172, which contains lots of explanatory
writing to make this PR more approachable by those new to Pretender. Check that Issue out!
---
We're …
-
Hi, I am doing some tests of an endpoint using axios.
I created a fresh install of bare react native, then I am calling a post method, if I don't pass a body parameter the test pass successfully, but…