(instance, done)
| 106 | await t.test('should close server when aborted after', (t, end) => { |
| 107 | t.plan(2) |
| 108 | function onClose (instance, done) { |
| 109 | t.assert.strictEqual(instance, fastify) |
| 110 | done() |
| 111 | end() |
| 112 | } |
| 113 | |
| 114 | const controller = new AbortController() |
| 115 |