test: prune low-value coverage
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:plezy/i18n/strings.g.dart';
|
||||
import 'package:plezy/models/audio_quality_preset.dart';
|
||||
import 'package:plezy/models/hotkey_model.dart';
|
||||
import 'package:plezy/services/base_shared_preferences_service.dart';
|
||||
import 'package:plezy/services/settings_service.dart';
|
||||
import 'package:plezy/services/trackers/tracker_constants.dart';
|
||||
@@ -74,14 +72,6 @@ void main() {
|
||||
});
|
||||
});
|
||||
|
||||
group('SettingsService keyboard hotkey defaults', () {
|
||||
test('includes Ctrl+S screenshot shortcut', () {
|
||||
final hotkey = SettingsService.defaultKeyboardHotkeys()['screenshot'];
|
||||
expect(hotkey, isNotNull);
|
||||
expect(hotkey!.key, PhysicalKeyboardKey.keyS);
|
||||
expect(hotkey.modifiers, [HotKeyModifier.control]);
|
||||
});
|
||||
});
|
||||
|
||||
group('SettingsService mute volume restoration', () {
|
||||
test('keeps 37 persisted across mute and restores it on unmute', () async {
|
||||
@@ -127,13 +117,6 @@ void main() {
|
||||
});
|
||||
});
|
||||
|
||||
group('SettingsService TV card defaults', () {
|
||||
test('full card layout starts disabled', () async {
|
||||
final settings = await SettingsService.getInstance();
|
||||
|
||||
expect(settings.read(SettingsService.tvFullCardLayout), isFalse);
|
||||
});
|
||||
});
|
||||
|
||||
group('SettingsService episode action', () {
|
||||
test('defaults to play and resets to play', () async {
|
||||
|
||||
Reference in New Issue
Block a user