WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39264, comment 47


Ignore:
Timestamp:
02/21/2017 01:11:15 PM (3 years ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39264, comment 47

    initial v1  
    77> I'm also curious why we need `assert && assert.equal` in your patch?
    88
    9 I added the asset && because if you load the qunit test screen via the browser, and select a "module" such as wpapi, the nav-menus.js test file still loads, and the value for `assert` is not set up, leaving to a JS error:
     9I added the `asset &&` because if you load the qunit test screen via the browser, and select a "module" such as wpapi, the nav-menus.js test file still loads, and the value for `assert` is not set up, leaving to a JS error:
    1010
    1111[[Image(https://cl.ly/391h3r1s1V2c/Image%202017-02-21%20at%208.08.51%20AM.png)]]