Skip to content

Commit

Permalink
test(Buffer): add coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
slikts committed Jan 24, 2023
1 parent d953603 commit 86a8b51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Buffer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ describe('Buffer', () => {
const q = new Buffer();
q.enqueue(1);
q.enqueue(2);
const it = q[Symbol.iterator]();
expect(it[Symbol.iterator]()).toBe(it[Symbol.iterator]());
expect([...q]).toEqual([1, 2]);
});
});

0 comments on commit 86a8b51

Please sign in to comment.