Skip to content

Commit

Permalink
Test errata
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanblock committed Dec 5, 2023
1 parent d63902c commit 30c6dc4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/unit/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ test('reset()', t => {
})

test('Errors', t => {
t.plan(5)
const filesError = /Specify one or more files/
const typeError = /string or buffer/

Expand Down Expand Up @@ -181,8 +182,4 @@ test('Errors', t => {
catch (err) {
t.match(err.message, typeError, 'Got correct type error')
}



t.end()
})

0 comments on commit 30c6dc4

Please sign in to comment.