diff --git a/internal_packages/theme-picker/spec/theme-picker-spec.jsx b/internal_packages/theme-picker/spec/theme-picker-spec.jsx index 094aa29ae..31453d9b6 100644 --- a/internal_packages/theme-picker/spec/theme-picker-spec.jsx +++ b/internal_packages/theme-picker/spec/theme-picker-spec.jsx @@ -8,9 +8,10 @@ const {resourcePath} = NylasEnv.getLoadSettings(); const light = new ThemePackage(resourcePath + '/internal_packages/ui-light'); const dark = new ThemePackage(resourcePath + '/internal_packages/ui-dark'); -describe('ThemePicker', ()=> { +fdescribe('ThemePicker', ()=> { beforeEach(()=> { spyOn(ThemePicker.prototype, '_setActiveTheme').andCallThrough(); + spyOn(ThemePicker.prototype, '_rewriteIFrame'); spyOn(NylasEnv.themes, 'getLoadedThemes').andReturn([light, dark]); spyOn(NylasEnv.themes, 'getActiveTheme').andReturn(light); this.component = ReactTestUtils.renderIntoDocument();