]> git.proxmox.com Git - mirror_novnc.git/commit
Make afterEach() hooks work when skipping tests
authorPierre Ossman <ossman@cendio.se>
Thu, 23 Jan 2020 13:27:37 +0000 (14:27 +0100)
committerPierre Ossman <ossman@cendio.se>
Thu, 23 Jan 2020 13:27:37 +0000 (14:27 +0100)
commiteb05b45b70d1704c59b6808f4c78968b578c4182
tree4426458f3739c9d26059b68cc2801ac0aa7c1279
parent8394462356042e03f68be9f6d815f008be5c1404
Make afterEach() hooks work when skipping tests

Mocha will now run afterEach() hooks when tests are skipped, so we need
to make them more robust against things being partially set up.
tests/test.helper.js
tests/test.keyboard.js
tests/test.localization.js
tests/test.webutil.js