blob: 51874f07f2af2c508588f609e75e82283723b37b [file] [log] [blame]
// @dart = 2.9
import 'dart:async';
import 'dart:html';
import 'package:async_helper/async_helper.dart';
import 'package:expect/expect.dart';
test() async {
var list = await window.navigator.mediaDevices.enumerateDevices();
Expect.isTrue(list is List<dynamic>, "Expected list to be List<dynamic>");
}
void main() {
asyncStart();
test().then((_) => asyncEnd());
}