Skip to content

Commit

Permalink
Replace mockito with mocktail
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcegraph committed Apr 25, 2024
1 parent 19a2f69 commit 8e7eff8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions build.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
targets:
$default:
builders:
# mockito's builder is expensive and is not needed until this package is
# migrated to null-safety. At that point, it should be scoped only to
# relevant files.
mockito:mockBuilder:
enabled: false
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dev_dependencies:
dart_style: ^2.1.1
dependency_validator: ^3.2.2
matcher: ^0.12.10
mockito: ^5.3.1
mocktail: ^1.0.3
test: ^1.16.8

dependency_validator:
Expand Down
2 changes: 1 addition & 1 deletion test/lifecycle_module_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import 'dart:async';

import 'package:logging/logging.dart';
import 'package:meta/meta.dart' show protected;
import 'package:mockito/mockito.dart';
import 'package:mocktail/mocktail.dart';
import 'package:opentracing/noop_tracer.dart';
import 'package:opentracing/opentracing.dart';
import 'package:test/test.dart';
Expand Down

0 comments on commit 8e7eff8

Please sign in to comment.