| Index: third_party/pkg/js/test/js/browser_tests.dart
|
| diff --git a/third_party/pkg/js/test/js/browser_tests.dart b/third_party/pkg/js/test/js/browser_tests.dart
|
| index 1595fbecca1ee37410e39f92c302c959048f1573..db8fb3c83041c27accc22076ff8f07672af13535 100644
|
| --- a/third_party/pkg/js/test/js/browser_tests.dart
|
| +++ b/third_party/pkg/js/test/js/browser_tests.dart
|
| @@ -279,7 +279,7 @@ main() {
|
| expect(js.context.invokeCallback(), equals(42));
|
| };
|
|
|
| - runAsync(expectAsync0(subtest));
|
| + scheduleMicrotask(expectAsync0(subtest));
|
| });
|
|
|
| test('global scope', () {
|
| @@ -517,6 +517,6 @@ main() {
|
| final verifyNoLeaks = expectAsync0(() => expect(0, js.proxyCount()));
|
| // Run this check asychnronously to ensure that any current scope is
|
| // cleared first.
|
| - runAsync(verifyNoLeaks);
|
| + scheduleMicrotask(verifyNoLeaks);
|
| });
|
| }
|
|
|