8000 imp(biomejs): upgrade Biomejs, fix patterns, don't use yarn workspaces · symfony/stimulus-bundle@5e2e1af · GitHub
[go: up one dir, main page]

Skip to content

Commit 5e2e1af

Browse files
Kocaljaviereguiluz
authored andcommitted
imp(biomejs): upgrade Biomejs, fix patterns, don't use yarn workspaces
1 parent d35d6cc commit 5e2e1af

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

assets/test/loader.test.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
// which does not actually exist in the source code
33
import { loadControllers } from '../dist/loader';
44
import { Application, Controller } from '@hotwired/stimulus';
5-
import type {
6-
EagerControllersCollection,
7-
LazyControllersCollection,
8-
} from '../src/controllers';
5+
import type { EagerControllersCollection, LazyControllersCollection } from '../src/controllers';
96
import { waitFor } from '@testing-library/dom';
107

118
let isController1Initialized = false;
@@ -52,7 +49,7 @@ describe('loader', () => {
5249

5350
document.body.innerHTML = '<div data-controller="controller3"></div>';
5451
// wait a moment for the MutationObserver to fire
55-
await new Promise(resolve => setTimeout(resolve, 10));
52+
await new Promise((resolve) => setTimeout(resolve, 10));
5653
expect(isController3Initialized).toBe(true);
5754

5855
application.stop();

0 commit comments

Comments
 (0)
0