Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
26a063e4c3
4 changed files with 18 additions and 1 deletions
|
|
@ -432,7 +432,12 @@ test.print = function(print) {
|
|||
print(test.failures[i].toString())
|
||||
}
|
||||
print("tests: " + test.total + "\nfailures: " + test.failures.length)
|
||||
|
||||
if (test.failures.length > 0) {
|
||||
throw new Error(test.failures.length + " tests did not pass")
|
||||
}
|
||||
}
|
||||
|
||||
var mock = {}
|
||||
mock.window = new function() {
|
||||
var window = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue