Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CacheControl/json-rules-engine
/ engine.test.js
File
engine.test.js
test/engine.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
'use strict'
2
3
import
sinon from
'sinon'
4
import
engineFactory, { Fact, Rule, Operator } from
'../src/index'
Callers
nothing calls this directly
Calls
11
assertFact
Function · 0.85
stop
Method · 0.80
addRule
Method · 0.80
updateRule
Method · 0.80
removeRule
Method · 0.80
addOperator
Method · 0.80
removeOperator
Method · 0.80
removeFact
Method · 0.80
run
Method · 0.80
setup
Function · 0.70
addFact
Method · 0.45
Tested by
no test coverage detected