13 lines
364 B
Dart
13 lines
364 B
Dart
import 'package:flutter_test/flutter_test.dart';
|
|
import 'package:timetrack/consts.dart';
|
|
|
|
void main() {
|
|
test("Test the update checking behavior", () async {
|
|
await TTConsts.checkUpdate();
|
|
if (TTConsts.UPDATE_AVAILABLE) {
|
|
print("An update is available for the current update channel");
|
|
} else {
|
|
print("No updates available");
|
|
}
|
|
});
|
|
}
|