Skip to content

Commit

Permalink
fixed tests for edit data table widget; #SNRGY-2814
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahannes committed Nov 28, 2023
1 parent 2b4ed90 commit ff28c09
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,10 @@ describe('DataTableEditDialogComponent', () => {
expect(dashboardServiceSpy.updateWidgetProperty.calls.count()).toBe(1);
expect(dashboardServiceSpy.updateWidgetProperty.calls.mostRecent().args).toEqual([
'dashboardId-1',
'widgetId-1',
[],
{
name: 'test',
properties: {
dataTable: {
dataTable: {
name: 'test',
order: DataTableOrderEnum.TimeAsc,
valueAlias: 'alias',
Expand Down Expand Up @@ -373,9 +373,8 @@ describe('DataTableEditDialogComponent', () => {
},
],
convertRules: [],
},
},
},
}
}
]);
}),
);
Expand Down

0 comments on commit ff28c09

Please sign in to comment.