[wp-trac] [WordPress Trac] #32688: Customizer Menus: add QUnit tests

WordPress Trac noreply at wordpress.org
Mon Jul 27 21:29:51 UTC 2015


#32688: Customizer Menus: add QUnit tests
----------------------------+-----------------------
 Reporter:  designsimply    |       Owner:
     Type:  task (blessed)  |      Status:  assigned
 Priority:  high            |   Milestone:  4.3
Component:  Customize       |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+-----------------------

Comment (by jorbin):

 I am getting this cleaned up so we can get some tests added now.  I think
 the next step needs to be testing some of the `api.Menus.MenuItemControl`
 pieces, such as move left, move right, move up, and move down.
 _changeDepth and _changePosition both throw errors, we should use
 [https://api.qunitjs.com/throws/ throws] to make sure that they are
 properly thrown when those error conditions exist.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32688#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list