feat(console): timeLog

This commit is contained in:
surunzi
2019-09-27 16:42:08 +08:00
parent 2e3a0bb795
commit 9fec5dda3c
4 changed files with 20 additions and 6 deletions

View File

@@ -59,9 +59,9 @@ describe('console', function() {
})
it('count', function() {
tool.count('test').clear()
tool.count('test')
expect($tool.find('.eruda-info')).toContainText('test: 2')
tool.count('test')
expect($tool.find('.eruda-info').eq(1)).toContainText('test: 2')
})
describe('substitution', function() {