Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CacheControl/json-rules-engine
/ almanac.test.js
File
almanac.test.js
test/almanac.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Fact } from
'../src/index'
2
import
Almanac from
'../src/almanac'
3
import
sinon from
'sinon'
4
Callers
nothing calls this directly
Calls
10
expectFactResultsCache
Function · 0.85
getEvents
Method · 0.80
addEvent
Method · 0.80
addRuntimeFact
Method · 0.80
_addConstantFact
Method · 0.80
_getFact
Method · 0.80
_setFactValue
Method · 0.80
setup
Function · 0.70
addFact
Method · 0.45
factValue
Method · 0.45
Tested by
no test coverage detected