(actual, expected)
| 134 | } |
| 135 | |
| 136 | function assertIncludes(actual, expected) { |
| 137 | assert.ok(actual.toString().indexOf(expected) !== -1, |
| 138 | `${JSON.stringify(actual)} includes ${JSON.stringify(expected)}`); |
| 139 | } |
| 140 | |
| 141 | function assertNotIncludes(actual, expected) { |
| 142 | assert.ok(actual.toString().indexOf(expected) === -1, |
no test coverage detected
searching dependent graphs…