19 lines
446 B
Dart
19 lines
446 B
Dart
import 'package:flutter/foundation.dart';
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
import 'set_service_worker_client.dart';
|
|
import 'should_intercept_request.dart';
|
|
|
|
void main() {
|
|
final shouldSkip = kIsWeb
|
|
? true
|
|
: ![
|
|
TargetPlatform.android,
|
|
].contains(defaultTargetPlatform);
|
|
|
|
group('Service Worker Controller', () {
|
|
shouldInterceptRequest();
|
|
setServiceWorkerClient();
|
|
}, skip: shouldSkip);
|
|
}
|