Skip to content

Commit

Permalink
chore: [form] organize test-related files into test folder (element-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
makedopamine authored Dec 5, 2024
1 parent 25d2eed commit e9f3fdd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/form/__tests__/form-item.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { rAF } from '@element-plus/test-utils/tick'
import Input from '@element-plus/components/input'
import Form from '../src/form.vue'
import FormItem from '../src/form-item.vue'
import DynamicFormItem from '../mocks/mock-data'
import DynamicFormItem from './mock-data'

import type { VueWrapper } from '@vue/test-utils'
import type { MockInstance } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/form/__tests__/form.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
import Input from '@element-plus/components/input'
import Form from '../src/form.vue'
import FormItem from '../src/form-item.vue'
import DynamicDomainForm, { formatDomainError } from '../mocks/mock-data'
import DynamicDomainForm, { formatDomainError } from './mock-data'

import type { VueWrapper } from '@vue/test-utils'
import type { FormRules } from '@element-plus/components/form'
Expand Down

0 comments on commit e9f3fdd

Please sign in to comment.