diff --git a/packages/components/input/__tests__/input.test.tsx b/packages/components/input/__tests__/input.test.tsx
index 4c62b560d8..28d1630827 100644
--- a/packages/components/input/__tests__/input.test.tsx
+++ b/packages/components/input/__tests__/input.test.tsx
@@ -1,4 +1,3 @@
-// @ts-nocheck
import { nextTick, ref } from 'vue'
import { mount } from '@vue/test-utils'
import { afterEach, describe, expect, test, vi } from 'vitest'
@@ -18,7 +17,6 @@ describe('Input.vue', () => {
const handleFocus = vi.fn()
const wrapper = mount(() => (
{
const wrapper = mount(() => (
{
const wrapper = mount(() => (
{
})
test('rows', () => {
- const wrapper = mount(() => (
-
- ))
+ const wrapper = mount(() => )
expect(wrapper.find('textarea').element.rows).toEqual(3)
})
@@ -205,7 +195,6 @@ describe('Input.vue', () => {
class="test-text"
type="text"
v-model={input1.value}
- // @ts-expect-error native html attribute
maxlength="10"
showWordLimit={show.value}
/>
@@ -213,7 +202,6 @@ describe('Input.vue', () => {
class="test-textarea"
type="textarea"
v-model={input2.value}
- // @ts-expect-error native html attribute
maxlength="10"
showWordLimit
/>
@@ -221,7 +209,6 @@ describe('Input.vue', () => {
class="test-password"
type="password"
v-model={input3.value}
- // @ts-expect-error native html attribute
maxlength="10"
showWordLimit
/>
@@ -229,7 +216,6 @@ describe('Input.vue', () => {
class="test-initial-exceed"
type="text"
v-model={input4.value}
- // @ts-expect-error native html attribute
maxlength="2"
showWordLimit
/>