Skip to content

Commit

Permalink
docs: update installation instructions readme
Browse files Browse the repository at this point in the history
  • Loading branch information
renancaraujo committed Sep 20, 2023
1 parent 7749f04 commit 3adf12a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ A package that makes it easy to mock, test and verify navigation calls in Flutte

## Usage

To use the package in your tests, add it to your dev dependencies in your `pubspec.yaml`:
To use the package in your tests, install it via `dart pub add`:

```yaml
dev_dependencies:
mockingjay: ^0.3.0
```shell
dart pub add dev:mockingjay
```

Then, in your tests, create a `MockNavigator` class like so:
Expand Down

0 comments on commit 3adf12a

Please sign in to comment.