Skip to content

Commit

Permalink
[EuiColorPaletteDisplay] Delete Sass files + update tests/snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Jun 25, 2024
1 parent 45b51cb commit aa4f13a
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/eui/src/components/color_picker/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
@import 'color_picker_swatch';
@import 'hue';
@import 'saturation';
@import 'color_palette_display/index';
Empty file.
Empty file.

This file was deleted.

Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

import React from 'react';
import { shouldRenderCustomStyles } from '../../../test/internal';
import { render } from '../../../test/rtl';

import { EuiColorPaletteDisplay, SIZES } from './color_palette_display';
Expand Down Expand Up @@ -34,6 +35,8 @@ const paletteWithStops = [
];

describe('EuiColorPaletteDisplay', () => {
shouldRenderCustomStyles(<EuiColorPaletteDisplay palette={palette} />);

test('is rendered', () => {
const { container } = render(
<EuiColorPaletteDisplay {...requiredProps} palette={palette} />
Expand Down

0 comments on commit aa4f13a

Please sign in to comment.