Skip to content

Commit

Permalink
improve scope type test
Browse files Browse the repository at this point in the history
  • Loading branch information
beeth0ven committed Jul 5, 2022
1 parent cc26a17 commit 17b8926
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 17b8926

Please sign in to comment.