MCPcopy Create free account
hub / github.com/andywer/threads.js / observable.test.ts

File observable.test.ts

test/observable.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import test from "ava"
2import { Observable, Subject } from "../src/observable"
3
4test("Observable subject emits values and completion event", async t => {

Callers

nothing calls this directly

Calls 7

fromMethod · 0.80
subscribeMethod · 0.80
unsubscribeMethod · 0.65
testFunction · 0.50
nextMethod · 0.45
completeMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected