Skip to content

Commit fa67c02

Browse files
committed
test quiet: false
1 parent d24dbfc commit fa67c02

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tests/test-config-vault.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ t.test('does not log by default', ct => {
4343
ct.ok(logStub.notCalled)
4444
})
4545

46-
t.test('does not log if quiet flag passed', ct => {
46+
t.test('does log if quiet flag passed true', ct => {
4747
ct.plan(1)
4848

4949
logStub = sinon.stub(console, 'log')
@@ -52,6 +52,15 @@ t.test('does not log if quiet flag passed', ct => {
5252
ct.ok(logStub.notCalled)
5353
})
5454

55+
t.test('does log if quiet flag false', ct => {
56+
ct.plan(1)
57+
58+
logStub = sinon.stub(console, 'log')
59+
60+
dotenv.config({ path: testPath, quiet: false })
61+
ct.ok(logStub.called)
62+
})
63+
5564
t.test('logs if debug set', ct => {
5665
ct.plan(1)
5766

0 commit comments

Comments
 (0)