Add TERM and platform info
This commit is contained in:
parent
7402de52df
commit
3f74fb65b5
1 changed files with 3 additions and 0 deletions
|
|
@ -13,6 +13,9 @@ require.cache[resolveFrom(__dirname, 'supports-color')] = {
|
|||
|
||||
const m = require('..');
|
||||
|
||||
console.log('TERM:', process.env.TERM || '[none]');
|
||||
console.log('platform:', process.platform || '[unknown]');
|
||||
|
||||
test('don\'t add any styling when called as the base function', t => {
|
||||
t.is(m('foo'), 'foo');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue