Fix tests with the latest version of mocha

This commit is contained in:
David Larlet 2023-08-22 12:29:13 -04:00
parent b7b160c808
commit 29a96e5fdc
No known key found for this signature in database
GPG key ID: 3E2953A359E7E7BD
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,6 @@
window.assert = chai.assert
window.expect = chai.expect
var qs = function (selector, element) {
return (element || document).querySelector(selector)
}

View file

@ -64,8 +64,6 @@
ignoreLeaks: true,
})
chai.config.includeStack = true
var assert = chai.assert
var expect = chai.expect
</script>
<script src="./_pre.js"></script>
<script src="./Map.js"></script>