Skip to content

Commit

Permalink
Set default output format so the test does not rely on the active TTY.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjeffburke committed May 18, 2019
1 parent 5bfb713 commit 905a77c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/uninspected.js
Expand Up @@ -13,6 +13,7 @@ describe('uninspected', () => {

describe('#inspect', () => {
it('should produce colored output', () => {
uninspected.outputFormat = 'ansi'; // set default for environment immunity
expect(
uninspected.inspect({ foo: 'abc' }),
'to equal',
Expand Down

0 comments on commit 905a77c

Please sign in to comment.