Skip to content

Commit

Permalink
added the plan for the subtest too in the dicer-write.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Bucci committed Apr 19, 2024
1 parent b912269 commit 2bf1a01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/dicer-write.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ test('dicer _write method', t => {
t.plan(1)

t.test('calls the callback cb() when headerFirst is set and all the data have been written', t => {
t.plan(1)
const dicer = new Dicer({ headerFirst: true })

dicer._write(Buffer.from('Content-Type: text/plain'), null, () => {
Expand Down

0 comments on commit 2bf1a01

Please sign in to comment.