Files
BaronSSO/baron-sso/userfront/test/app_theme_default_font_test.dart

13 lines
423 B
Dart

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'));
});
}