Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
BeritJanssen committed Dec 23, 2024
1 parent 66236de commit 6bf5203
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/app/visualization/ngram/ngram.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ describe('NgramComponent', () => {
component.stopPolling$ = new Subject();
component.queryModel = queryModel;
component.corpus = MockCorpusResponse[0] as any;
component.visualizedField = {name: 'speech'} as any;
component.visualizedField = {name: 'speech'} as any;
component.dateField = {name: 'date'} as any;
component.allDateFields = [component.dateField];
component.asTable = false;
component.palette = ['yellow', 'blue'];
fixture.detectChanges();
Expand Down

0 comments on commit 6bf5203

Please sign in to comment.