Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ OnlineDetector.test.ts
File
OnlineDetector.test.ts
packages/offline-transactions/tests/OnlineDetector.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, it, vi } from
'vitest'
2
import
{
3
DefaultOnlineDetector,
4
WebOnlineDetector,
Callers
nothing calls this directly
Calls
12
beforeEach
Function · 0.90
afterEach
Function · 0.90
expect
Function · 0.90
fn
Method · 0.80
has
Method · 0.45
set
Method · 0.45
add
Method · 0.45
get
Method · 0.45
delete
Method · 0.45
subscribe
Method · 0.45
dispose
Method · 0.45
notifyOnline
Method · 0.45
Tested by
no test coverage detected