HomePhabricator

Hygiene: QUnit setup -> beforeEach & teardown -> afterEach

Authored by joakin <joaquin@chimeces.com> on Apr 25 2017, 3:10 PM.

Description

Hygiene: QUnit setup -> beforeEach & teardown -> afterEach

The setup and teardown hooks on QUnit.module are deprecated on the
latest versions.

See https://api.qunitjs.com/QUnit/module

mw-node-qunit supports them but we shouldn't be using them.

Bug: T160406
Change-Id: I32c07f22d01d16449a6e37f46ff20c577a1f14c6

Event Timeline

joakin <joaquin@chimeces.com> committed rEPOP698a93f5bc40: Hygiene: QUnit setup -> beforeEach & teardown -> afterEach (authored by joakin <joaquin@chimeces.com>).Apr 26 2017, 10:34 AM