commit
0bac775982
21 changed files with 166 additions and 49 deletions
|
|
@ -16,7 +16,7 @@ describe('http utils', function() {
|
|||
send: function() {
|
||||
var self = this;
|
||||
setTimeout(function() {
|
||||
self.response = 'test';
|
||||
self.response = [1,2,3,4];
|
||||
self.error ? self.onerror() : self.onload();
|
||||
}, 10);
|
||||
},
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ describe('log utils', function() {
|
|||
log.warn('hola');
|
||||
|
||||
var arg = console.warn.getCall(0).args[0];
|
||||
arg.should.contain('util.log.js');
|
||||
//arg.should.contain('util.log.js'); /* Firefox does not include the stack track */
|
||||
arg.should.contain('hola');
|
||||
console.warn.restore();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue