diff --git a/spec/api-native-theme-spec.ts b/spec/api-native-theme-spec.ts index 12b9951ad5..d813a5f5a2 100644 --- a/spec/api-native-theme-spec.ts +++ b/spec/api-native-theme-spec.ts @@ -36,6 +36,7 @@ describe('nativeTheme module', () => { }); it('should emit the "updated" event when it is set and the resulting "shouldUseDarkColors" value changes', async () => { + nativeTheme.themeSource = 'light'; let updatedEmitted = emittedOnce(nativeTheme, 'updated'); nativeTheme.themeSource = 'dark'; await updatedEmitted;