Skip to content

Commit

Permalink
Merge pull request #61 from LoveCommunity/test/scope-type
Browse files Browse the repository at this point in the history
improve `scope` type test
  • Loading branch information
beeth0ven committed Jul 5, 2022
2 parents cc26a17 + 17b8926 commit f3b3ea1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/scopes/scopes/scope_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ import '../../toolbox/mock_configurable.dart';

void main() {

test('`scope` is `ScopeGet`', () {
test('`scope` is `ScopeGet`, `ScopePush` and `Disposable`', () {

final scope = _MockScope();

expect(scope, isA<ScopeGet>());
expect(scope, isA<ScopePush>());
expect(scope, isA<Disposable>());
});

test('`Scope.root` return sync scope if it only has sync configuration', () {
Expand Down

0 comments on commit f3b3ea1

Please sign in to comment.