fixed tests
This commit is contained in:
parent
4055a1c6d3
commit
e8ccbf7bf8
1 changed files with 6 additions and 0 deletions
|
@ -5,4 +5,10 @@ import 'package:test/fake.dart';
|
|||
class FakeDeviceService extends Fake implements DeviceService {
|
||||
@override
|
||||
Future<int> getDefaultTimeZoneRawOffsetMillis() => SynchronousFuture(3600000);
|
||||
|
||||
@override
|
||||
Future<int> getAvailableHeapSize() => SynchronousFuture(0x7fffffff);
|
||||
|
||||
@override
|
||||
Future<void> requestGarbageCollection() => SynchronousFuture(null);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue