Fix tests with the latest version of mocha
This commit is contained in:
parent
b7b160c808
commit
29a96e5fdc
2 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
window.assert = chai.assert
|
||||||
|
window.expect = chai.expect
|
||||||
|
|
||||||
var qs = function (selector, element) {
|
var qs = function (selector, element) {
|
||||||
return (element || document).querySelector(selector)
|
return (element || document).querySelector(selector)
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,8 +64,6 @@
|
||||||
ignoreLeaks: true,
|
ignoreLeaks: true,
|
||||||
})
|
})
|
||||||
chai.config.includeStack = true
|
chai.config.includeStack = true
|
||||||
var assert = chai.assert
|
|
||||||
var expect = chai.expect
|
|
||||||
</script>
|
</script>
|
||||||
<script src="./_pre.js"></script>
|
<script src="./_pre.js"></script>
|
||||||
<script src="./Map.js"></script>
|
<script src="./Map.js"></script>
|
||||||
|
|
Loading…
Reference in a new issue