Skip to content

Commit

Permalink
use isinstanceOf instead of TypeMatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
corwinsheahan-wf committed Feb 26, 2019
1 parent 16d8498 commit 3afc27f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/react_client_test.dart
Expand Up @@ -35,8 +35,7 @@ main() {
'children': testChildren,
}),
);
expect(unconvertJsProps(instance)['style'],
TypeMatcher<Map<String, dynamic>>());
expect(unconvertJsProps(instance)['style'], new isInstanceOf<Map<String, dynamic>>());
});

test('returns props for a composite JS ReactComponent', () {
Expand Down

0 comments on commit 3afc27f

Please sign in to comment.