(expected)
| 127 | |
| 128 | describe('_setFactValue()', () => { |
| 129 | function expectFactResultsCache (expected) { |
| 130 | const promise = almanac.factResultsCache.values().next().value |
| 131 | expect(promise).to.be.instanceof(Promise) |
| 132 | promise.then(value => expect(value).to.equal(expected)) |
| 133 | return promise |
| 134 | } |
| 135 | |
| 136 | function setup (f = new Fact('id', 1)) { |
| 137 | fact = f |
no outgoing calls
no test coverage detected
searching dependent graphs…