Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix subtests by adding t.plan() (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers authored Feb 10, 2019
1 parent ab18d82 commit 8f8db9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"level-community": "^3.0.0",
"nyc": "^13.2.0",
"standard": "^12.0.0",
"tape": "^4.3.0"
"tape": "^4.10.0"
},
"hallmark": {
"community": "level-community"
Expand Down
4 changes: 4 additions & 0 deletions test/decoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ var Codec = require('..')
test('createStreamDecoder', function (t) {
var codec = new Codec({ keyEncoding: 'hex' })

t.plan(3)

t.test('keys and values', function (t) {
var decoder = codec.createStreamDecoder({
valueEncoding: 'json',
Expand Down Expand Up @@ -38,6 +40,8 @@ test('createStreamDecoder', function (t) {
test('createStreamDecoder - legacy', function (t) {
var codec = new Codec({ keyEncoding: 'hex' })

t.plan(3)

t.test('keys and values', function (t) {
var decoder = codec.createStreamDecoder({
encoding: 'json',
Expand Down

0 comments on commit 8f8db9c

Please sign in to comment.