Skip to content

Conversation

crazyair
Copy link
Contributor

No description provided.

it('enter', () => {
const onFocus = jest.fn();
const onBlur = jest.fn();
const { container, getByText } = render(

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused variable getByText.
it('enter', () => {
const onFocus = jest.fn();
const onBlur = jest.fn();
const { container, getByText } = render(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const { container, getByText } = render(
const { container } = render(

@afc163
Copy link
Member

afc163 commented Aug 14, 2024

好像没写完?

@crazyair
Copy link
Contributor Author

好像没写完?

jest 不支持 form 回车提交校验。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants