Upgrade outdated dependencies
This commit is contained in:
parent
ec3c46d356
commit
ca19a7a774
24 changed files with 2416 additions and 2892 deletions
|
|
@ -141,12 +141,12 @@ describe('iterable utilities', () => {
|
|||
|
||||
it("doesn't start the iterable until the last minute", () => {
|
||||
const oneTwoThree = {
|
||||
[Symbol.iterator]: sinon.fake(() => {
|
||||
[Symbol.iterator]: sinon.fake((): Iterator<number> => {
|
||||
let n = 0;
|
||||
return {
|
||||
next() {
|
||||
if (n > 3) {
|
||||
return { done: true };
|
||||
return { done: true, value: undefined };
|
||||
}
|
||||
n += 1;
|
||||
return { value: n, done: false };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue