Skip to content

Commit c28516c

Browse files
committed
Fixed errors from prettier
1 parent e5c5aca commit c28516c

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

tensorboard/webapp/metrics/views/card_renderer/histogram_card_test.ts

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,11 @@ describe('histogram card', () => {
268268

269269
dispatchedActions = [];
270270
// Cast to jasmine.Spy for compatibility between NgRx dispatch signature overloads.
271-
(spyOn(store, 'dispatch') as jasmine.Spy).and.callFake((action: Action) => {
272-
dispatchedActions.push(action);
273-
});
271+
(spyOn(store, 'dispatch') as jasmine.Spy).and.callFake(
272+
(action: Action) => {
273+
dispatchedActions.push(action);
274+
}
275+
);
274276
});
275277

276278
it('dispatches metricsCardFullSizeToggled on full size toggle', () => {
@@ -303,9 +305,11 @@ describe('histogram card', () => {
303305
fixture.detectChanges();
304306
const dispatchedActions: Action[] = [];
305307
// Cast to jasmine.Spy for compatibility between NgRx dispatch signature overloads.
306-
(spyOn(store, 'dispatch') as jasmine.Spy).and.callFake((action: Action) => {
307-
dispatchedActions.push(action);
308-
});
308+
(spyOn(store, 'dispatch') as jasmine.Spy).and.callFake(
309+
(action: Action) => {
310+
dispatchedActions.push(action);
311+
}
312+
);
309313

310314
const histogramWidget = fixture.debugElement.query(
311315
By.directive(TestableHistogramWidget)
@@ -587,9 +591,11 @@ describe('histogram card', () => {
587591
fixture.detectChanges();
588592
const dispatchedActions: Action[] = [];
589593
// Cast to jasmine.Spy for compatibility between NgRx dispatch signature overloads.
590-
(spyOn(store, 'dispatch') as jasmine.Spy).and.callFake((action: Action) => {
591-
dispatchedActions.push(action);
592-
});
594+
(spyOn(store, 'dispatch') as jasmine.Spy).and.callFake(
595+
(action: Action) => {
596+
dispatchedActions.push(action);
597+
}
598+
);
593599

594600
const histogramWidget = fixture.debugElement.query(
595601
By.directive(TestableHistogramWidget)

0 commit comments

Comments
 (0)