(module)
| 529 | const testPath = path.resolve('test/fixtures').replace(/\\/g, '/') + '/'; |
| 530 | |
| 531 | async function getImportError(module) { |
| 532 | try { |
| 533 | await loader.import(module); |
| 534 | assert.fail('Should have failed'); |
| 535 | } |
| 536 | catch(e) { |
| 537 | return e.toString(); |
| 538 | } |
| 539 | } |
| 540 | |
| 541 | it('Should throw if instantiate hook doesnt instantiate', async function () { |
| 542 | const loader = new SystemLoader(); |
no outgoing calls
no test coverage detected
searching dependent graphs…