Skip to content

Commit

Permalink
test: rename test and check border
Browse files Browse the repository at this point in the history
  • Loading branch information
zewa666 authored Sep 13, 2024
1 parent 908e7aa commit 53d0aa2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/common/src/core/__tests__/slickGrid.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1160,13 +1160,13 @@ describe('SlickGrid core file', () => {
expect(rowSelectSpy).toHaveBeenCalled();
});

it('should clear previous selection model when calling setSelectionModel() with a different model', () => {
it('should change border color for darkMode', () => {
const cellSelectionModel = new SlickCellSelectionModel();

grid = new SlickGrid<any, Column>(container, [], columns, { ...defaultOptions, darkMode: true });
cellSelectionModel.init(grid);

expect(cellSelectionModel.cellRangeSelector.addonOptions.selectionCss).toBe('2px solid white');
expect(cellSelectionModel.cellRangeSelector.addonOptions.selectionCss.border).toBe('2px solid white');
});
});

Expand Down Expand Up @@ -5822,4 +5822,4 @@ describe('SlickGrid core file', () => {
});
});
});
});
});

0 comments on commit 53d0aa2

Please sign in to comment.