MCPcopy
hub / github.com/CacheControl/json-rules-engine / condition

Function condition

test/condition.test.js:11–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9defaultOperators.forEach(o => operators.set(o.name, o))
10
11function condition () {
12 return {
13 all: [{
14 id: '6ed20017-375f-40c9-a1d2-6d7e0f4733c5',
15 name: 'team participation in form',
16 fact: 'team_participation',
17 operator: 'equal',
18 value: 50,
19 path: '.metrics[0].forum-posts'
20 }]
21 }
22}
23
24describe('Condition', () => {
25 describe('constructor', () => {

Callers 1

condition.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…