We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for the project. I'm currently trying to use it as alternative to namshi/mockserver and like it much better. :)
The only thing missing for me is the Response-Delay, which is useful to see if loading animations, spinners etc. are shown correctly.
Response-Delay
Do you think this can be added?
The text was updated successfully, but these errors were encountered:
There's currently no built-in option for that, but you can easily add it using hooks
Something like this should do the trick:
const delay = 1000; // in ms function addDelay(req, res, next) { setTimeout(next, delay); } module.exports = { before: [addDelay], after: [] };
Sorry, something went wrong.
Thank you, this works for me.
No branches or pull requests
Thanks for the project. I'm currently trying to use it as alternative to namshi/mockserver and like it much better. :)
The only thing missing for me is the
Response-Delay
, which is useful to see if loading animations, spinners etc. are shown correctly.Do you think this can be added?
The text was updated successfully, but these errors were encountered: