8000 Ignoring loading themes for now · plotly/angular-plotly.js@43d99f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 43d99f4

Browse files
committed
Ignoring loading themes for now
1 parent e87ce43 commit 43d99f4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

projects/plotly/src/lib/plotly.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ describe('PlotlyComponent', () => {
217217
expect(PlotlyJS.Plots.resize).not.toHaveBeenCalled();
218218
});
219219

220-
it('should load a theme', async () => {
220+
xit('should load a theme', async () => {
221221
spyOn(component, 'loadTheme').and.callThrough();
222222
spyOn(component.themeLoader, 'load').and.callThrough();
223223

@@ -230,7 +230,7 @@ describe('PlotlyComponent', () => {
230230
expect(component.themeLoader.load).toHaveBeenCalledOnceWith('plotly_dark');
231231
});
232232

233-
it('should load NOT a theme', async () => {
233+
xit('should load NOT a theme', async () => {
234234
spyOn(component, 'loadTheme').and.callThrough();
235235
spyOn(component.themeLoader, 'load').and.callThrough();
236236

projects/plotly/src/lib/plotly.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class PlotlyComponent implements OnInit, OnChanges, OnDestroy, DoCheck {
134134
console.error(msg);
135135
}
136136

137-
if (this.theme != 'none') this.loadTheme();
137+
// if (this.theme != 'none') this.loadTheme();
138138
}
139139

140140
ngOnDestroy(): void {

projects/plotly/src/lib/plotly.theme-loader.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { TestBed, inject } from '@angular/core/testing';
22
import { PlotlyThemeLoaderService } from './plotly.theme-loader.service';
33

44

5-
describe('PlotlyThemeLoaderService', () => {
5+
xdescribe('PlotlyThemeLoaderService', () => {
66
beforeEach(() => {
77
TestBed.configureTestingModule({
88
providers: [PlotlyThemeLoaderService]

0 commit comments

Comments
 (0)
0