Skip to content

Commit e9e1e66

Browse files
committed
减少无用的log
1 parent 54d5c63 commit e9e1e66

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ install:
1616
- npm run buildAvalon
1717
script:
1818
- npm run build
19-
- npm run sauce
2019

2120
addons:
2221
code_climate:

test/directives/controller.spec.js

-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ describe('controller', function() {
141141
fireClick(button)
142142
setTimeout(function() {
143143
var blockquote = div.getElementsByTagName('blockquote')[0]
144-
console.log(blockquote[textProp], '111')
145144
var text = blockquote[textProp].replace(/[\r\n\s]/g, '').trim()
146145
expect(text).toBe('123111')
147146
delete avalon.vmodels.ccc1

test/directives/validate.spec.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ describe('validate', function () {
6262
fireClick(btn)
6363
setTimeout(function () {
6464
expect(validate.onValidateAll).toHaveBeenCalled()
65-
console.log('validate')
6665
var args = validate.onValidateAll.calls.argsFor(0)
6766
var first = args[0]
6867
expect(first.length).toBe(1)
@@ -192,8 +191,6 @@ describe('validate', function () {
192191
deduplicateInValidateAll: true
193192
})
194193
})
195-
196-
197-
194+
198195

199196
})

0 commit comments

Comments
 (0)