mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
502dac12aa
* docs: fix code * feat: lint * feat: prettier * feat: test * feat: review * feat: format html * feat: format html
12 lines
353 B
TypeScript
12 lines
353 B
TypeScript
import React from 'react';
|
|
|
|
import { render } from '../../../tests/utils';
|
|
import TransButton from '../transButton';
|
|
|
|
describe('transButton component', () => {
|
|
it('disabled should update style', () => {
|
|
const { container } = render(<TransButton disabled />);
|
|
expect(container.querySelector('div')?.style.pointerEvents).toBe('none');
|
|
});
|
|
});
|