[wp-trac] [WordPress Trac] #25781: QUnit should be testable on both compiled and minimized JS

WordPress Trac noreply at wordpress.org
Fri Nov 15 22:18:26 UTC 2013


#25781: QUnit should be testable on both compiled and minimized JS
-------------------------+---------------------
 Reporter:  jorbin       |       Owner:  nacin
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  3.8
Component:  Build Tools  |     Version:  trunk
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------

Comment (by jorbin):

 A second hacky option as attached as 25781.6.diff is to use filter to
 filter out everything but index.html when we are running just qunit. Both
 my approach and Nacin's are far from perfect but I think keeping the hack
 in the config makes it a bit more readable.  Either way, inline docs as to
 why we are doing it this way (or a link to the ticket) would be helpful.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25781#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list