mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +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();
|
|
});
|
|
});
|