Skip to content

Commit

Permalink
chore: address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Nelson committed Dec 2, 2022
1 parent 3df73de commit 3bd61fd
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/amplify_authenticator/test/ui/main_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,8 @@ enum TestTheme {
defaultMaterial,
highContrast,
customSwatch,
custom,
}
custom;

/// Adds [lightTheme] and [darkTheme] getters, which cannot be properties since
/// that are not constants.
extension TestThemeX on TestTheme {
ThemeData get lightTheme {
switch (this) {
case TestTheme.defaultMaterial:
Expand Down Expand Up @@ -130,10 +126,6 @@ void main() {
// flutter's default test font does not accurately reflect font size,
// which leads to pixel over flows.
await loadAppFonts();

// default to mobile layout
binding.window.devicePixelRatioTestValue = ScreenGeometry.mobile.pixelRatio;
binding.window.physicalSizeTestValue = ScreenGeometry.mobile.size;
});

group('UI Tests', () {
Expand Down

0 comments on commit 3bd61fd

Please sign in to comment.