mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
test: add unit test
This commit is contained in:
parent
b98fecd1be
commit
976e88dff8
@ -0,0 +1,7 @@
|
||||
import { hexToRGB } from '../../src/utils/colors';
|
||||
|
||||
describe('colors', () => {
|
||||
it('hexToRGB()', () => {
|
||||
expect(hexToRGB('#ffffff')).toEqual([255, 255, 255, 255]);
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user