Skip to content

Commit

Permalink
Remove tests with label 'displayAll'
Browse files Browse the repository at this point in the history
  • Loading branch information
adiletelf committed Jul 31, 2024
1 parent a76b6c7 commit 7d477c7
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/visual.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,6 @@ describe("Timeline", () => {
beforeEach(() => {
dataView.metadata.objects = {
labels: {
displayAll: true,
show: true,
},
};
Expand All @@ -980,16 +979,6 @@ describe("Timeline", () => {
expect(visualBuilder.allLabels.length).toBe(0);
});

it("shows only selected granularity label if displayAll is set to false", () => {
visualBuilder.updateFlushAllD3Transitions(dataView);
// All labels should be visible
expect(visualBuilder.allLabels.length).toBeGreaterThan(1);
(<any>(dataView.metadata.objects)).labels.displayAll = false;
visualBuilder.updateFlushAllD3Transitions(dataView);
// Only one label should be visible
expect(visualBuilder.allLabels.length).toBe(1);
});

it("font color", () => {
const color: string = "#ABCDEF";

Expand Down

0 comments on commit 7d477c7

Please sign in to comment.