Dev: Disable console count view src
This commit is contained in:
@@ -59,7 +59,7 @@ export default class Logger extends util.Emitter
|
||||
|
||||
!util.isUndef(count[label]) ? count[label]++ : count[label] = 1;
|
||||
|
||||
return this.log(`%c${label}: ${count[label]}`, 'color:#2196f3');
|
||||
return this.html(`<div class="eruda-blue">${label}: ${count[label]}</div>`);
|
||||
}
|
||||
assert(...args)
|
||||
{
|
||||
|
||||
@@ -63,7 +63,7 @@ describe('log', function ()
|
||||
{
|
||||
tool.clear().count('test').clear();
|
||||
tool.count('test');
|
||||
expect($tool.find('.eruda-log')).toContainText('test: 2');
|
||||
expect($tool.find('.eruda-html')).toContainText('test: 2');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user