mirror of
https://github.com/apache/superset.git
synced 2026-04-26 19:44:58 +00:00
test: add unit test
This commit is contained in:
committed by
Yongjie Zhao
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]);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user