Skip to content

Commit f6adf79

Browse files
committed
Update tests for empty line before lazy
1 parent 9915c2f commit f6adf79

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/fixtures/make-stimulus-controller/with_targets.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Controller } from '@hotwired/stimulus';
44
* The following line makes this controller "lazy": it won't be downloaded until needed
55
* See https://symfony.com/bundles/StimulusBundle/current/index.html#lazy-stimulus-controllers
66
*/
7+
78
/* stimulusFetch: 'lazy' */
89
export default class extends Controller {
910
static targets = ['results', 'messages', 'errors']

tests/fixtures/make-stimulus-controller/without_targets.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Controller } from '@hotwired/stimulus';
44
* The following line makes this controller "lazy": it won't be downloaded until needed
55
* See https://symfony.com/bundles/StimulusBundle/current/index.html#lazy-stimulus-controllers
66
*/
7+
78
/* stimulusFetch: 'lazy' */
89
export default class extends Controller {
910
// ...

0 commit comments

Comments
 (0)