Skip to content

Commit

Permalink
Repair tests
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Jan 18, 2022
1 parent d123bb6 commit 01123f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test-cli-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const t = require('tap')

const options = require('../lib/cli-options')

t.plan(6)
t.plan(7)

// matches encoding option
t.same(options(['node', '-e', "'console.log(testing)'", 'dotenv_config_encoding=utf8']), {
Expand Down
2 changes: 1 addition & 1 deletion tests/test-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const mockParseResponse = { test: 'foo' }
let readFileSyncStub
let parseStub

t.plan(13)
t.plan(14)

t.beforeEach(() => {
readFileSyncStub = sinon.stub(fs, 'readFileSync').returns('test=foo')
Expand Down
2 changes: 1 addition & 1 deletion tests/test-env-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function testOption (envVar, tmpVal, expect) {
delete process.env[envVar]
}

t.plan(5)
t.plan(6)

// returns empty object when no options set in process.env
delete process.env.DOTENV_CONFIG_ENCODING
Expand Down

0 comments on commit 01123f9

Please sign in to comment.