Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unused reject()
  • Loading branch information
Gabriel Schulhof
Gabriel Schulhof committed Jul 26, 2020
commit a15238726c10ffba3f3007afa167af39cf7f3e63
2 changes: 1 addition & 1 deletion test/asyncprogressworker.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function success(binding) {
}

function fail(binding) {
return new Promise((resolve, reject) => {
return new Promise((resolve) => {
binding.doWork(-1,
common.mustCall((err) => {
assert.throws(() => { throw err }, /test error/)
Expand Down