Skip to content

Commit

Permalink
refactor: updated dependencies
Browse files Browse the repository at this point in the history
Had to update the mock dependency as @GenerateNiceMock wasn't working with the previous version
  • Loading branch information
MarkOSullivan94 committed Nov 16, 2022
1 parent 0d42153 commit 3ed708e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ dependencies:
yaml: ^3.1.0

environment:
sdk: '>=2.12.0 <3.0.0'
sdk: '>=2.13.0 <3.0.0'

dev_dependencies:
# Needed by build_version
build_runner: ^2.2.0
# allows us to get version number from pubspec yaml which we can pass to Sentry
# https://pub.dev/packages/build_version
build_version: ^2.1.1
json_serializable: ^6.2.0
mockito: ^5.2.0
test: ^1.21.1
test_descriptor: ^2.0.0
json_serializable: ^6.5.4
mockito: ^5.3.2
test: ^1.22.0
test_descriptor: ^2.0.1
4 changes: 3 additions & 1 deletion test/macos/macos_icon_generator_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ import 'package:test/test.dart';
import 'package:test_descriptor/test_descriptor.dart' as d;

import '../templates.dart' as templates;
import 'macos_icon_generator_test.mocks.dart';

@GenerateNiceMocks([
MockSpec<FlutterLauncherIconsConfig>(),
MockSpec<MacOSConfig>(),
MockSpec<FLILogger>(),
])

import 'macos_icon_generator_test.mocks.dart';

void main() {
group('MacOSIconGenerator', () {
late IconGeneratorContext context;
Expand Down

0 comments on commit 3ed708e

Please sign in to comment.