Skip to content

Commit c964130

Browse files
committed
[Svelte] Fix coding style after rebase
1 parent bbfda3a commit c964130

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Svelte/assets/src/render_controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Controller } from '@hotwired/stimulus';
2-
import type { SvelteComponent, ComponentConstructorOptions, ComponentType } from 'svelte';
2+
import type { ComponentConstructorOptions, ComponentType, SvelteComponent } from 'svelte';
33

44
export default class extends Controller<Element & { root?: SvelteComponent }> {
55
private app: SvelteComponent;

src/Svelte/assets/test/render_controller.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
import { Application, Controller } from '@hotwired/stimulus';
1111
import { clearDOM, mountDOM } from '@symfony/stimulus-testing';
1212
import { getByTestId, waitFor } from '@testing-library/dom';
13+
import { VERSION as SVELTE_VERSION } from 'svelte/compiler';
1314
import SvelteController from '../src/render_controller';
1415
import MyComponent from './fixtures/MyComponent.svelte';
15-
import { VERSION as SVELTE_VERSION } from 'svelte/compiler';
1616

1717
// Controller used to check the actual controller was properly booted
1818
class CheckController extends Controller {

src/Svelte/assets/test/render_svelte_5_controller.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
*/
99

1010
import { Application } from '@hotwired/stimulus';
11-
import { getByTestId, waitFor } from '@testing-library/dom';
1211
import { clearDOM, mountDOM } from '@symfony/stimulus-testing';
12+
import { getByTestId, waitFor } from '@testing-library/dom';
13+
import { VERSION as SVELTE_VERSION } from 'svelte/compiler';
1314
import SvelteController from '../src/render_controller';
1415
import MyComponentSvelte5 from './fixtures/MyComponentSvelte5.svelte';
15-
import { VERSION as SVELTE_VERSION } from 'svelte/compiler';
1616

1717
const startStimulus = () => {
1818
const application = Application.start();

0 commit comments

Comments
 (0)