nur557
nur557
What he wrote in the comment - "stars added in last 30 days filter" is equivalent to the issue you've referenced but I don't think this should be marked as...
[There's a test couple lines bellow](https://github.com/miragejs/miragejs/blob/6bdfb692f451c3a3d424a58e0829dd72f56b0782/lib/orm/model.js#L166) whether an object is passed as the first argument. I think this issue can be closed? @samselikoff
> What if I want to mock up (and parameterize for testing purposes) a response that is just an object. For example, the response of a login. Can you elaborate...
Can you give a concrete example so that we might work out what kind of parameterization would be fitting?
Your route handler can have an optional third argument - the options object which has a timing parameter, like in [this test](https://github.com/miragejs/miragejs/blob/b965b8a058523dac0d6ab4792826887154e25368/types/tests/overview-test.ts#L30). Using this you can control the server's response...
Hmm seems to be an issue with Mirage REPL, works fine [in CodeSandbox](https://codesandbox.io/s/little-paper-uuwnk?file=/src/index.js).
> in my project it doesn't work either How does the Mirage part of your project differ than what's in the CodeSandbox I've provided? Can you create a minimal reproduction...
@abdulrahman1s Why doesn't yours result in account suspension but this one does?
@nicolas-t Hey, thanks for posting this, I've tried it but it's still not adding source maps for `background.js` and other scripts included from that one. If it helps here's my...
@MatthijsBurgh Thanks for replying. I already have that, you can see in the config I've posted.