Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
test from
"ava"
2
import
{ Observable, Subject } from
"../src/observable"
3
4
test(
"Observable subject emits values and completion event"
,
async
t => {
Callers
nothing calls this directly
Calls
7
from
Method · 0.80
subscribe
Method · 0.80
unsubscribe
Method · 0.65
test
Function · 0.50
next
Method · 0.45
complete
Method · 0.45
error
Method · 0.45
Tested by
no test coverage detected