MCPcopy
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
3import sinon from 'sinon'
4import engineFactory, { Fact, Rule, Operator } from '../src/index'

Callers

nothing calls this directly

Calls 11

assertFactFunction · 0.85
stopMethod · 0.80
addRuleMethod · 0.80
updateRuleMethod · 0.80
removeRuleMethod · 0.80
addOperatorMethod · 0.80
removeOperatorMethod · 0.80
removeFactMethod · 0.80
runMethod · 0.80
setupFunction · 0.70
addFactMethod · 0.45

Tested by

no test coverage detected