Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tinyplex/tinybase
/ middleware.test.ts
File
middleware.test.ts
test/unit/core/other/middleware.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{beforeEach, describe, expect, test, vi} from
'vitest'
;
2
3
import
type
{MergeableStore, Middleware, Store} from
'tinybase'
;
4
import
{
Callers
nothing calls this directly
Calls
15
createStore
Function · 0.90
getTimeFunctions
Function · 0.90
createMergeableStore
Function · 0.90
registerAllCallbacks
Function · 0.85
pause
Function · 0.85
getStore
Method · 0.65
destroy
Method · 0.65
addWillSetContentCallback
Method · 0.65
setContent
Method · 0.65
getTables
Method · 0.65
getValues
Method · 0.65
setTables
Method · 0.65
Tested by
no test coverage detected