Jsome
Jsome copied to clipboard
Doesn't work for me
I'm on node 8.9 and using iterm2 on OSX. I can print colors with the chalk package fine.
If I do this:
const testObject = {
someData: 'testing'
};
console.log(jsome.getColoredString(testObject));
I get this in the console:
[ '%c{\n %ctest%c: %c"%cblah%c"\n%c}',
'color: #FFFF00',
'color: #00FF00',
'color: #FFFF00',
'color: #FFFF00',
'color: #FF00FF',
'color: #FFFF00',
'color: #FFFF00' ]
Tried just jsome(testObject)
too and it gives the same.
@scott-cornwell I just found this issue also. I believe it only occurs when running under jest. That's what it looks like for me anyway.