Skip to content

Commit 01123f9

Browse files
committed
Repair tests
1 parent d123bb6 commit 01123f9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/test-cli-options.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const t = require('tap')
22

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

5-
t.plan(6)
5+
t.plan(7)
66

77
// matches encoding option
88
t.same(options(['node', '-e', "'console.log(testing)'", 'dotenv_config_encoding=utf8']), {

tests/test-config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const mockParseResponse = { test: 'foo' }
1111
let readFileSyncStub
1212
let parseStub
1313

14-
t.plan(13)
14+
t.plan(14)
1515

1616
t.beforeEach(() => {
1717
readFileSyncStub = sinon.stub(fs, 'readFileSync').returns('test=foo')

tests/test-env-options.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function testOption (envVar, tmpVal, expect) {
2626
delete process.env[envVar]
2727
}
2828

29-
t.plan(5)
29+
t.plan(6)
3030

3131
// returns empty object when no options set in process.env
3232
delete process.env.DOTENV_CONFIG_ENCODING

0 commit comments

Comments
 (0)