Changeset 50627
- Timestamp:
- 03/31/2021 08:27:06 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/qunit/wp-admin/js/password-strength-meter.js
r48121 r50627 96 96 var disallowedList = wp.passwordStrength.userInputDisallowedList(); 97 97 98 assert.ok( jQuery.isArray( disallowedList ), 'disallowed list is an array' );98 assert.ok( Array.isArray( disallowedList ), 'disallowed list is an array' ); 99 99 assert.ok( jQuery.inArray( 'WordPress', disallowedList ) > -1, 'disallowed list contains "WordPress" from page title' ); 100 100 assert.ok( jQuery.inArray( 'tests', disallowedList ) > -1, 'disallowed list contains "tests" from site URL' );
Note: See TracChangeset
for help on using the changeset viewer.