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

CP-2737 Return a Future from expect() calls to allow consumers to wait for an expectation to be satisfied #223

Open
evanweible-wf opened this issue Oct 3, 2016 · 1 comment
Milestone

Comments

@evanweible-wf
Copy link
Contributor

// This would setup the expectation and carry on with the rest of the test immediately.
MockTransports.http.expect('GET', Uri.parse('/example'));

// This would setup the expectation and wait for it to be satisfied before continuing
// with the rest of the test.
await MockTransports.http.expect('GET', Uri.parse('/example'));
@evanweible-wf evanweible-wf added this to the 3.1.0 milestone Oct 3, 2016
@rmconsole3-wf
Copy link
Contributor

It looks like you have not included any tickets in the title of this issue. Please create a ticket for this issue, or click here to have Rosie create one for you.

@rmconsole-wf rmconsole-wf changed the title Return a Future from expect() calls to allow consumers to wait for an expectation to be satisfied CP-2737 Return a Future from expect() calls to allow consumers to wait for an expectation to be satisfied Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants