Changeset 50441 for trunk/tests/phpunit/tests/dependencies/jquery.php
- Timestamp:
- 02/26/2021 02:07:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/jquery.php
r50287 r50441 38 38 $this->assertSame( $jquery_scripts[ $dep ], $o->src ); 39 39 } 40 }41 42 function test_presence_of_jquery_no_conflict() {43 $contents = trim( file_get_contents( ABSPATH . WPINC . '/js/jquery/jquery.js' ) );44 $noconflict = 'jQuery.noConflict();';45 $end = substr( $contents, - strlen( $noconflict ) );46 $this->assertSame( $noconflict, $end );47 40 } 48 41
Note: See TracChangeset
for help on using the changeset viewer.