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 ebf3b4e commit a5ff8f6
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 6 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,10 +7,11 @@
*/

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

import { EuiColorPaletteDisplay, SIZES } from './color_palette_display';
import { requiredProps } from '../../../test';

const palette = ['#1fb0b2', '#ffdb6d', '#ee9191', '#ffffff', '#888094'];

Expand All @@ -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 a5ff8f6

Please sign in to comment.