[wp-trac] [WordPress Trac] #51734: Run core unit tests from src again, again

WordPress Trac noreply at wordpress.org
Wed Feb 24 14:36:12 UTC 2021


#51734: Run core unit tests from src again, again
------------------------------+-----------------------------
 Reporter:  johnbillion       |       Owner:  (none)
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:  5.1
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+-----------------------------

Comment (by johnbillion):

 @peterwilsoncc I've been thinking about where the most appropriate place
 for the `wp-embed.min.js` no-ampersand assertion is. It's not a unit test,
 and it's not a JavaScript test, it's actually an assertion that should be
 performed against the build process, so I've added a Grunt task that runs
 as part of the `build` task. It verifies that the file exists and does not
 contain an ampersand. It uses `assert()` so the build fails if it does
 contain one. I pushed to https://github.com/WordPress/wordpress-
 develop/pull/717 if you'd like to take a look.

 I'm going to add assertions for the other two tests that rely on the build
 directory.

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


More information about the wp-trac mailing list