Skip to content

Commit 39f890d

Browse files
committed
fixed the print in test cases
1 parent e837aa5 commit 39f890d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/contentstack-audit/test/unit/audit-base-command.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('AuditBaseCommand class', () => {
4040
});
4141
describe('Audit command flow', () => {
4242
fancy
43-
.stdout({ print: true })
43+
.stdout({ print: process.env.PRINT === 'true' || false })
4444
.stub(winston.transports, 'File', () => fsTransport)
4545
.stub(winston, 'createLogger', () => ({ log: console.log, error: console.error }))
4646
.stub(fs, 'mkdirSync', () => {})

0 commit comments

Comments
 (0)