mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 01:11:26 +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)');
|
|
});
|
|
});
|
|
});
|