Skip to content
Myr

tests: fix callback in res.download test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parent 18f782b · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:test/res.download.js+1 added-1 removed
105 unmodified lines
106 var cb = after(2, done)107 var options = {}108109 app.use(function (req, res) {110 res.download('test/fixtures/user.html', 'document', options, done)110 res.download('test/fixtures/user.html', 'document', options, cb)111 })112113 request(app)114 .get('/')
101 unmodified lines