(engine)
| 240 | const FACT_VALUE = 'FACT_VALUE' |
| 241 | |
| 242 | function assertFact (engine) { |
| 243 | expect(engine.facts.size).to.equal(1) |
| 244 | expect(engine.facts.has(FACT_NAME)).to.be.true() |
| 245 | } |
| 246 | |
| 247 | it('allows a constant fact', () => { |
| 248 | engine.addFact(FACT_NAME, FACT_VALUE) |
no outgoing calls
no test coverage detected
searching dependent graphs…