-
I couldn't find any examples on how to do that besides [this one](https://gist.github.com/jelhan/0ab2c1fc5727cde9a302ff0caf601ddf). It was created 2 years ago. I can't get it to work as MirageJS alway…
-
Hi, i understand MirageJS uses Pretender globally which means it basically takes over fetch. But i assumed the passtrough option described here https://miragejs.com/api/classes/server/#passthrough wou…
-
I've been updating an application to be ember 4 ready, part of that involved setting `jquery-integration: false` - meaning all existing `ember-ajax` and `ember-data` calls have switched from ajax to f…
-
Occasionally I want to make assertions about what requests are made during a test without changing the behaviour of an existing mocked endpoint. To accomplish this I've implemented and am using a meth…
-
Currently Pretender works in two basic and complimentary ways: request stubbing and request proxying. We'd like to add a third, chimeric, methodology: request recording. In this mode the first time a …
-
First of all, we are using Mirage with an Ember project and it works fine 😊thanks for the awesome work. Since we really like Mirage we also tried to get it running for a Vue project which was scaffold…
-
_TL;TR: Providing three additional methods on `server` would make testing pending states a pleasure._
Testing application state while requests are pending is currently not that smooth with mirage a…
-
When I run tests that try to fetch assets, a Mirage error surfaces in my console:
Essentially it's complaining that the route to this asset is not defined in the mirage config file's routes() f…
-
For our initial use case fetch is likely the best place to start.
Idea is with a line of code or two clients using the `fetch` API actually have their requests processed directly by mezzo to pers…
-
Hello!
I have a dependency in my application that specifically relies on `window.fetch` being replaced with the whatwg-fetch polyfill. whatwg-fetch is a transitive dependency, so it should be endin…