diff --git a/superset-frontend/temporary_superset_ui/superset-ui-plugins-deckgl/packages/superset-ui-legacy-preset-chart-deckgl/test/utils/colors.test.js b/superset-frontend/temporary_superset_ui/superset-ui-plugins-deckgl/packages/superset-ui-legacy-preset-chart-deckgl/test/utils/colors.test.js new file mode 100644 index 0000000000..9fc24d2c75 --- /dev/null +++ b/superset-frontend/temporary_superset_ui/superset-ui-plugins-deckgl/packages/superset-ui-legacy-preset-chart-deckgl/test/utils/colors.test.js @@ -0,0 +1,7 @@ +import { hexToRGB } from '../../src/utils/colors'; + +describe('colors', () => { + it('hexToRGB()', () => { + expect(hexToRGB('#ffffff')).toEqual([255, 255, 255, 255]); + }); +});