mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
speed up tests
This commit is contained in:
parent
c0dc894cbe
commit
042bf1a20d
@ -123,7 +123,8 @@
|
||||
"<rootDir>/node_modules/*"
|
||||
],
|
||||
"scriptPreprocessor": "<rootDir>/node_modules/webpack-babel-jest",
|
||||
"testDirectoryName": "tests"
|
||||
"testDirectoryName": "tests",
|
||||
"preprocessCachingDisabled": false
|
||||
},
|
||||
"precommit": [
|
||||
"lint"
|
||||
|
@ -1,13 +0,0 @@
|
||||
jest.dontMock('../index');
|
||||
|
||||
import React from 'react';
|
||||
import antd, {
|
||||
Button,
|
||||
} from '../index';
|
||||
|
||||
describe('antd', function() {
|
||||
it('antd and components should be existd', function() {
|
||||
expect(antd).toBeTruthy();
|
||||
expect(Button).toBeTruthy();
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user