| Index: tests/html/measurement_test.dart
|
| diff --git a/tests/html/measurement_test.dart b/tests/html/measurement_test.dart
|
| index 384136cf1c27110d15f52d7cab40b0d28e0cc226..175e92f4644ae0bce88faf6637a752ee5f0cbdfd 100644
|
| --- a/tests/html/measurement_test.dart
|
| +++ b/tests/html/measurement_test.dart
|
| @@ -12,16 +12,14 @@ main() {
|
|
|
| test('measurement is async but before setTimout 0', () {
|
| final element = document.body;
|
| - bool timeout0 = false;
|
| bool fnComplete = false;
|
| - bool animationFrame = false;
|
| + bool timeout0 = false;
|
| window.setTimeout(() { timeout0 = true; }, 0);
|
| final computedStyle = element.computedStyle;
|
| computedStyle.then(expectAsync1((style) {
|
| expect(style.getPropertyValue('left'), equals('auto'));
|
| expect(fnComplete);
|
| expect(timeout0, isFalse);
|
| - expect(animationFrame, isFalse);
|
| }));
|
| Expect.isFalse(computedStyle.isComplete);
|
| fnComplete = true;
|
|
|