issues Search Results · repo:mcmath/chai-iterator language:CoffeeScript
Filter by
7 results
(74 ms)7 results
inmcmath/chai-iterator (press backspace or delete to remove)iterable must have an [@@iterator]() method and its return value must be an iterator. iterator must have an next()
method and its return value must be an iteratorResult. iteratorResult is an object, it ...
segayuu
- Opened on May 2, 2018
- #19
Hi @mcmath, I just wanted to check as there have been no commits to master since march 2017 and no responce to issues or
pull requests that have been around for over a month now.
It would be great to ...
harrysarson
- 1
- Opened on Feb 21, 2018
- #18
I m using chai version 4.1.2. With node version 8.9.1 LTS.
The following program runs just fine:
const chai = require( chai );
chai.assert.isObject({});
but once the chai-iterator library is in use ...
andyfusniak
- 1
- Opened on Nov 18, 2017
- #14
This code:
import chai = require( chai );
import { expect } from chai ;
import chaiIterator = require( chai-iterator );
chai.use(chaiIterator);
expect([2, 3, 5]).to.iterate.for.lengthOf(3);
Throws ...
nunof07
- 5
- Opened on Nov 11, 2017
- #12
Hi,
Thanks for this great package.
I m trying to use it with TypeScript. Typings are installed and I m importing it like this:
import * as chaiIterator from chai-iterator ;
But it gives me the following ...
nunof07
- 2
- Opened on Nov 11, 2017
- #11
Created a class for nodejs, and a vanilla @@iterator implementation according to the reference :
class DStorage {
//...
[Symbol.iterator]() {
const ctx = this
return {
next: () = {
if (typeof ...
seprich
- 2
- Opened on Mar 20, 2017
- #9
Users should be able to test the length of an iterable, i.e., the number of values it yields before it is done. In
particular, the following should be possible:
function* count(max) {
for (let i = 0; ...
mcmath
- Opened on Jun 22, 2016
- #5

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.