找不到名称“ introJs”

时间:2018-09-12 16:21:11

标签: intro.js

我在应用程序中使用了introJ。

import 'package:flutter_test/flutter_test.dart';
import 'package:matcher/matcher.dart';

class AuthorizationException implements Exception {
  const AuthorizationException();
}

Future<List<String>> getNotificationList(int id) async {
  throw AuthorizationException();
}

void main() {
  test('getNotification observable gets error on AuthorizationException',
  () async {
    expect(getNotificationList(1536333713),
      throwsA(const TypeMatcher<AuthorizationException>()));
  });
}

它在函数introJS()上显示错误

0 个答案:

没有答案
相关问题