mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 22:39:34 +08:00
7322aa6f5f
This reverts commit 6759887c44
.
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();
|
|
});
|
|
});
|