Skip to content

Commit 807b691

Browse files
committed
Revert test changes for JSHint config changes
1 parent f6d43d6 commit 807b691

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

tests/phpunit/tests/dependencies/scripts.php

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3039,12 +3039,14 @@ public function test_wp_enqueue_code_editor_when_php_file_will_be_passed() {
30393039
'curly',
30403040
'eqeqeq',
30413041
'eqnull',
3042-
'esversion',
3042+
'es3',
30433043
'expr',
30443044
'immed',
30453045
'noarg',
30463046
'nonbsp',
3047+
'onevar',
30473048
'quotmark',
3049+
'trailing',
30483050
'undef',
30493051
'unused',
30503052
'browser',
@@ -3121,12 +3123,14 @@ public function test_wp_enqueue_code_editor_when_generated_array_by_compact_will
31213123
'curly',
31223124
'eqeqeq',
31233125
'eqnull',
3124-
'esversion',
3126+
'es3',
31253127
'expr',
31263128
'immed',
31273129
'noarg',
31283130
'nonbsp',
3131+
'onevar',
31293132
'quotmark',
3133+
'trailing',
31303134
'undef',
31313135
'unused',
31323136
'browser',
@@ -3217,12 +3221,14 @@ public function test_wp_enqueue_code_editor_when_generated_array_by_array_merge_
32173221
'curly',
32183222
'eqeqeq',
32193223
'eqnull',
3220-
'esversion',
3224+
'es3',
32213225
'expr',
32223226
'immed',
32233227
'noarg',
32243228
'nonbsp',
3229+
'onevar',
32253230
'quotmark',
3231+
'trailing',
32263232
'undef',
32273233
'unused',
32283234
'browser',
@@ -3310,12 +3316,14 @@ public function test_wp_enqueue_code_editor_when_simple_array_will_be_passed() {
33103316
'curly',
33113317
'eqeqeq',
33123318
'eqnull',
3313-
'esversion',
3319+
'es3',
33143320
'expr',
33153321
'immed',
33163322
'noarg',
33173323
'nonbsp',
3324+
'onevar',
33183325
'quotmark',
3326+
'trailing',
33193327
'undef',
33203328
'unused',
33213329
'browser',

0 commit comments

Comments
 (0)