-
Notifications
You must be signed in to change notification settings - Fork 14
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
Nested looping and ranges #29
Comments
stevenvachon
changed the title
Nested looping causes grammatical error
Nested looping and ranges
Jan 27, 2016
Hello? |
Hey @stevenvachon sorry I missed this one. Is this a feature request? Chai itself already has assertions for looking into arrays, for example your first example could be: chai.expect([ [1], [1] ]).to.all.contain(1) |
Yes, a feature request. Interesting on |
I'm using this with chai-like: var obj = { key1:value, key2:value, key3:{key:value} };
expect([ obj, obj ]).to.all.be.like({ key1:value, key2:value });
expect([ [obj], [obj] ]).to.all.all.be.like({ key1:value, key2:value }); |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nested Looping
but then, how would we handle 3+ levels deep?:
...but something less mathematical.
Ranged Looping
Synonyms
each
could also be a nice general synonym forall
.The text was updated successfully, but these errors were encountered: