MCPcopy
hub / github.com/xtermjs/xterm.js / assertList

Function assertList

src/common/SortedList.test.ts:13–15  ·  view source on GitHub ↗
(expected: number[])

Source from the content-addressed store, hash-verified

11describe('SortedList', () => {
12 let list: SortedList<number>;
13 function assertList(expected: number[]): void {
14 deepStrictEqual(Array.from(list.values()), expected);
15 }
16
17 beforeEach(() => {
18 list = new SortedList<number>(e => e);

Callers 1

SortedList.test.tsFile · 0.85

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected