mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 21:48:19 +08:00
0d7c87421a
* chore: remove babel-plugin-import warning * chore: update test case * chore: code clean
14 lines
303 B
TypeScript
14 lines
303 B
TypeScript
const OLD_NODE_ENV = process.env.NODE_ENV;
|
|
process.env.NODE_ENV = 'development';
|
|
const antd = require('..');
|
|
|
|
describe('antd', () => {
|
|
afterAll(() => {
|
|
process.env.NODE_ENV = OLD_NODE_ENV;
|
|
});
|
|
|
|
it('exports modules correctly', () => {
|
|
expect(Object.keys(antd)).toMatchSnapshot();
|
|
});
|
|
});
|