forked from baron/baron-sso
perf(userfront): optimize login web loading
This commit is contained in:
12
userfront/test/app_theme_default_font_test.dart
Normal file
12
userfront/test/app_theme_default_font_test.dart
Normal file
@@ -0,0 +1,12 @@
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:userfront/core/theme/app_theme.dart';
|
||||
|
||||
void main() {
|
||||
test('themes use the platform default font family', () {
|
||||
final lightTheme = buildLightTheme();
|
||||
final darkTheme = buildDarkTheme();
|
||||
|
||||
expect(lightTheme.textTheme.bodyMedium?.fontFamily, isNot('NotoSansKR'));
|
||||
expect(darkTheme.textTheme.bodyMedium?.fontFamily, isNot('NotoSansKR'));
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user