mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-05-25 02:12:13 +00:00
run test only on mac
This commit is contained in:
parent
ef2a32157e
commit
a7d64a2307
1 changed files with 4 additions and 0 deletions
|
|
@ -22,6 +22,10 @@ class RealHttpOverrides extends HttpOverrides {
|
|||
}
|
||||
|
||||
void main() {
|
||||
if (!Platform.isMacOS) {
|
||||
return;
|
||||
}
|
||||
|
||||
TestWidgetsFlutterBinding.ensureInitialized();
|
||||
HttpOverrides.global = RealHttpOverrides();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue