[wp-trac] [WordPress Trac] #36916: Refactor EditAttachments frame to work outside Media Library admin page
WordPress Trac
noreply at wordpress.org
Mon May 23 14:38:13 UTC 2016
#36916: Refactor EditAttachments frame to work outside Media Library admin page
---------------------------------+-----------------------------------------
Reporter: Funkatronic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.5.2
Severity: normal | Resolution:
Keywords: has-patch needs- | Focuses: javascript, administration
testing |
---------------------------------+-----------------------------------------
Comment (by adamsilverstein):
@Funkatronic So far I think we mainly have 'functional' tests which may be
enough to test things here; JS unit tests are pretty new to core and we
have very poor coverage :( Here is the post I found where we introduced
JS unit tests, it describes how to create them briefly:
https://make.wordpress.org/core/2013/09/13/javascript-unit-tests-for-core/
Thanks for the code snippet, I will give that a test.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36916#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list