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
The invocation is weird. And the following does not work:
const o = AssertOrder(2) const cb = (i) => { o.any([1,2]) o.on(2, () => expect(i).toBe(2)) } cb(1) cb(2)
It got i = 1.
i = 1
The following works:
const o = AssertOrder(2) const cb = (i) => { o.on(2, () => expect(i).toBe(2)) o.any([1,2]) } cb(1) cb(2)
The text was updated successfully, but these errors were encountered:
This is partially addressed by o.any([1, 2], (step) => /* do something */)
o.any([1, 2], (step) => /* do something */)
Sorry, something went wrong.
No branches or pull requests
The invocation is weird. And the following does not work:
It got
i = 1
.The following works:
The text was updated successfully, but these errors were encountered: