Skip to content

Commit

Permalink
chore: v0.2.0 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel authored Nov 30, 2021
1 parent 375193d commit aba4273
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: flutter test --no-pub --test-randomize-ordering-seed random

- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v1.1.1
uses: VeryGoodOpenSource/very_good_coverage@v1.2.0
with:
path: coverage/lcov.info

Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.2.0

- feat: add mock call for `canPop` (thanks [@allisonryan0002](https:/allisonryan0002)!)
- feat: add mock call for `maybePop` (thanks [@korzonkiee](https:/korzonkiee)!)
- feat: add `whereSettings`, `whereName`, `whereArguments`, `whereMaintainState` and `whereFullscreenDialog` matcher arguments to `isRoute` matcher
- **DEPRECATE**: fix: `named` argument on `isRoute` deprecated in favor of `whereName`

# 0.2.0-dev.3

- feat: add mock call for `canPop` (thanks [@allisonryan0002](https:/allisonryan0002)!)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To use the package in your tests, add it to your dev dependencies in your `pubsp

```yaml
dev_dependencies:
mockingjay: ^0.1.0
mockingjay: ^0.2.0
```
Then, in your tests, create a `MockNavigator` class like so:
Expand Down
1 change: 0 additions & 1 deletion example/lib/ui/quiz_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

enum QuizOption {
pizza,
Expand Down
1 change: 0 additions & 1 deletion example/test/ui/home_screen_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

import 'package:mockingjay/mockingjay.dart';
import 'package:mocktail/mocktail.dart';

import '../helpers.dart';

Expand Down
1 change: 0 additions & 1 deletion example/test/ui/pincode_screen_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

import 'package:mockingjay/mockingjay.dart';
import 'package:mocktail/mocktail.dart';

import '../helpers.dart';

Expand Down
1 change: 0 additions & 1 deletion example/test/ui/quiz_dialog_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'package:example/ui/ui.dart';
import 'package:flutter_test/flutter_test.dart';

import 'package:mockingjay/mockingjay.dart';
import 'package:mocktail/mocktail.dart';

import '../helpers.dart';

Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: mockingjay
description: A package that makes it easy to mock, test and verify navigation
calls in Flutter.
version: 0.2.0-dev.3
version: 0.2.0
homepage: https:/VeryGoodOpenSource/mockingjay

environment:
Expand All @@ -15,7 +15,7 @@ dependencies:
sdk: flutter
matcher: ^0.12.10
mocktail: ^0.2.0
test: ^1.17.10
test: ^1.17.0

dev_dependencies:
very_good_analysis: ^2.4.0
1 change: 0 additions & 1 deletion test/src/mock_navigator_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

import 'package:mockingjay/mockingjay.dart';
import 'package:mocktail/mocktail.dart';

extension on WidgetTester {
Future<void> pumpTest({
Expand Down

0 comments on commit aba4273

Please sign in to comment.