MCPcopy Index your code
hub / github.com/buildbot/buildbot / expectByIdContents

Function expectByIdContents

www/data-module/src/data/DataCollection.test.ts:53–55  ·  view source on GitHub ↗
(c: DataCollection<TestDataClass>, expected: [number, number][])

Source from the content-addressed store, hash-verified

51 }
52
53 const expectByIdContents = (c: DataCollection<TestDataClass>, expected: [number, number][]) => {
54 expect([...c.byId.values()].map(x => [x.testid, x.testdata])).toEqual(expected);
55 }
56
57 beforeEach(() => {
58 vi.useFakeTimers({ toFake: ['nextTick'] });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected