Skip to content

Commit

Permalink
fix suspense test lazy typing
Browse files Browse the repository at this point in the history
  • Loading branch information
kealjones-wk committed Sep 17, 2024
1 parent 1e0b3a7 commit 9713881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/over_react/component/suspense_component_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void main() {
group('Suspense', () {
test('renders fallback UI first followed by the real component', () async {
final lazyLoadCompleter = Completer<void>();
final LazyLoadMe = lazy(
UiFactory<LazyLoadMePropsMixin> LazyLoadMe = lazy(
() async {
await lazy_load_me.loadLibrary();
await lazyLoadCompleter.future;
Expand Down Expand Up @@ -60,7 +60,7 @@ void main() {
final lazyLoadCompleter = Completer<void>();
const suspenseFallbackTimeout = Duration(milliseconds: 100);

final LazyLoadMe = lazy(
UiFactory<LazyLoadMePropsMixin> LazyLoadMe = lazy(
() async {
await lazy_load_me.loadLibrary();
await lazyLoadCompleter.future;
Expand Down

0 comments on commit 9713881

Please sign in to comment.