Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
improve contexts test based on PR feedback
  • Loading branch information
maks committed Jan 21, 2020
commit 1bf165ba0405f466e31063cf6eaa5f74538d24ba
4 changes: 3 additions & 1 deletion test/contexts_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ void main() {
browser: testBrowser,
);

final event = Event(contexts: contexts);

expect(
contexts.toJson(),
event.toJson()['contexts'],
<String, dynamic>{
'device': {
'name': 'testDevice',
Expand Down