Skip to content
New issue

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

Allow delay to be configurable for tests #1279

Closed
huwshimi opened this issue Mar 24, 2024 · 0 comments · Fixed by #1281
Closed

Allow delay to be configurable for tests #1279

huwshimi opened this issue Mar 24, 2024 · 0 comments · Fixed by #1281
Assignees
Labels
mock Related to mock generation
Milestone

Comments

@huwshimi
Copy link
Contributor

What are the steps to reproduce this issue?

  1. Generate the API with mocks.
  2. Create tests using the mocks.

What happens?

Depending on the delay you set in your config, either your tests are very slow or you have to have a very short delay when simulating the API in a browser.

What were you expecting to happen?

Have a way to either set the delay separately for tests, or set the delay at runtime.

Any logs, error output, etc?

Any other comments?

What versions are you using?

Operating System:
Package Version:
Browser Version:

@melloware melloware added the mock Related to mock generation label Mar 25, 2024
@melloware melloware added this to the 6.27.0 milestone Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mock Related to mock generation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants