偏右
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
2 additions and
2 deletions
-
.eslintignore
-
.jest.js
-
components/form/__tests__/index.test.js
|
|
@ -1,6 +1,5 @@ |
|
|
|
components/**/*.js |
|
|
|
components/**/*.jsx |
|
|
|
components/*/__tests__/type.tsx |
|
|
|
!components/*/__tests__/**/*.js |
|
|
|
!components/*/demo/* |
|
|
|
!.*.js |
|
|
|
|
|
@ -31,7 +31,7 @@ module.exports = { |
|
|
|
'!components/*/style/index.tsx', |
|
|
|
'!components/style/index.tsx', |
|
|
|
'!components/*/locale/index.tsx', |
|
|
|
'!components/*/__tests__/**/type.tsx', |
|
|
|
'!components/form/__tests__/type.test.tsx', |
|
|
|
'!components/**/*/interface.{ts,tsx}', |
|
|
|
], |
|
|
|
transformIgnorePatterns, |
|
|
|
|
|
@ -3,6 +3,7 @@ import React from 'react'; |
|
|
|
import { mount, render } from 'enzyme'; |
|
|
|
import Form from '..'; |
|
|
|
import mountTest from '../../../tests/shared/mountTest'; |
|
|
|
import './type.test'; |
|
|
|
|
|
|
|
describe('Form', () => { |
|
|
|
mountTest(Form); |
|
|
|