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