MCPcopy Create free account
hub / github.com/baconjs/bacon.js / expectStreamEvents

Function expectStreamEvents

test/util/SpecHelper.ts:126–128  ·  view source on GitHub ↗
(src: () => Bacon.Observable<any>, expectedEvents: any[], param: any = undefined)

Source from the content-addressed store, hash-verified

124};
125
126export const expectStreamEvents = (src: () => Bacon.Observable<any>, expectedEvents: any[], param: any = undefined) => {
127 return verifySingleSubscriber(src, expectedEvents);
128};
129
130export const expectPropertyEvents = (src: () => Bacon.Observable<any>, expectedEvents: any[], param: any = {}) => {
131 const {unstable, semiunstable, extraCheck} = param;

Callers 15

delay.tsFile · 0.90
when.tsFile · 0.90
zip.tsFile · 0.90
mapend.tsFile · 0.90
fromarray.tsFile · 0.90
merge.tsFile · 0.90
takewhile.tsFile · 0.90
once.tsFile · 0.90
buffer.tsFile · 0.90
later.tsFile · 0.90
skipduplicates.tsFile · 0.90

Calls 1

verifySingleSubscriberFunction · 0.85

Tested by

no test coverage detected