MCPcopy Create free account
hub / github.com/buildbot/buildbot / expect

Method expect

www/data-module/src/data/MockDataClient.ts:38–41  ·  view source on GitHub ↗
(endpoint: string, query: Query, returnValue: any)

Source from the content-addressed store, hash-verified

36 }
37
38 expect(endpoint: string, query: Query, returnValue: any) {
39 this.expects.push({endpoint: endpoint, query: query});
40 return this.when(endpoint, query, returnValue);
41 }
42
43 verifyNoOutstandingExpectation() {
44 expect(

Callers

nothing calls this directly

Calls 2

whenMethod · 0.95
pushMethod · 0.80

Tested by

no test coverage detected