[wp-trac] [WordPress Trac] #37117: Upgrade QUnit to 2.9.x (was: Upgrade QUnit to 2.3.2)
WordPress Trac
noreply at wordpress.org
Wed Mar 25 01:46:34 UTC 2020
#37117: Upgrade QUnit to 2.9.x
-----------------------------------+-----------------------------
Reporter: jorbin | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.5
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch | Focuses:
-----------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* keywords: 2nd-opinion => 2nd-opinion has-patch
* owner: (none) => SergeyBiryukov
* status: new => accepted
* milestone: Awaiting Review => 5.5
Comment:
While migrating our existing QUnit tests to work in Jest seems like good
idea, updating to the latest QUnit seemed like a good first step for me to
get more familiar with them. Started this as an experiment, which turned
out to be successful.
In [attachment:37117.diff]:
* Update QUnit and Sinon to the latest versions.
* Remove the abandoned `sinon-qunit` script.
* Update the tests per the [http://qunitjs.com/upgrade-guide-2.x/ QUnit
2.x Upgrade Guide].
* The tests pass: https://travis-ci.com/github/SergeyBiryukov/wordpress-
develop/jobs/302244802
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37117#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list