(opts, errorName, errorCode)
| 69 | } |
| 70 | |
| 71 | async function restoreHttpError(opts, errorName, errorCode) { |
| 72 | const q = u.p(opts, { expectedRestoreError: { name: errorName, code: errorCode } }); |
| 73 | return testPromiseWithAssertNock(u.testRestoreFromFile(q, './test/fixtures/animaldb_expected.json', 'fakenockdb')); |
| 74 | } |
| 75 | |
| 76 | [{ useApi: true }, { useApi: false }].forEach(function(params) { |
| 77 | describe(u.scenario('#unit Fatal errors', params), function() { |
no test coverage detected
searching dependent graphs…