(p)
| 4 | var CorePromise = require('../lib/Promise'); |
| 5 | |
| 6 | function assertCycle(p) { |
| 7 | return p.then(buster.referee.fail, function(e) { |
| 8 | assert(e instanceof TypeError); |
| 9 | }); |
| 10 | } |
| 11 | |
| 12 | buster.testCase('cycle detection', { |
| 13 |
no outgoing calls
no test coverage detected
searching dependent graphs…