[wp-trac] [WordPress Trac] #37117: Upgrade QUnit to 2.9.x

WordPress Trac noreply at wordpress.org
Wed Mar 25 01:50:03 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:
-----------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:4 SergeyBiryukov]:
 > 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 (added in [27846]).
 > * 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:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list