OLD | NEW |
1 library CallbacksTest; | 1 library CallbacksTest; |
2 import '../../pkg/unittest/lib/unittest.dart'; | 2 import 'package:unittest/unittest.dart'; |
3 import '../../pkg/unittest/lib/html_config.dart'; | 3 import 'package:unittest/html_config.dart'; |
4 import 'dart:html'; | 4 import 'dart:html'; |
5 | 5 |
6 main() { | 6 main() { |
7 useHtmlConfiguration(); | 7 useHtmlConfiguration(); |
8 test('RequestAnimationFrameCallback', () { | 8 test('RequestAnimationFrameCallback', () { |
9 window.requestAnimationFrame((num time) => false); | 9 window.requestAnimationFrame((num time) => false); |
10 }); | 10 }); |
11 } | 11 } |
OLD | NEW |