mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
10 lines
286 B
TypeScript
10 lines
286 B
TypeScript
|
import getAlphaColor from '../util/getAlphaColor';
|
||
|
|
||
|
describe('util', () => {
|
||
|
describe('getAlphaColor', () => {
|
||
|
it('should not process color with alpha', () => {
|
||
|
expect(getAlphaColor('rgba(0, 0, 0, 0.5)', 'rgba(255, 255, 255)')).toBe('rgba(0, 0, 0, 0.5)');
|
||
|
});
|
||
|
});
|
||
|
});
|