Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8da8f79

Browse files
committedFeb 23, 2022
tests: fix callback in res.download test
1 parent 18f782b commit 8da8f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/res.download.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ describe('res', function(){
107107
var options = {}
108108

109109
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)
111111
})
112112

113113
request(app)

0 commit comments

Comments
 (0)
Please sign in to comment.