2023-03-13 07:08:43 +00:00
|
|
|
const OLD_NODE_ENV = process.env.NODE_ENV;
|
|
|
|
process.env.NODE_ENV = 'development';
|
|
|
|
const antd = require('..');
|
2018-05-13 15:11:51 +00:00
|
|
|
|
2023-03-13 07:08:43 +00:00
|
|
|
describe('antdv', () => {
|
|
|
|
afterAll(() => {
|
|
|
|
process.env.NODE_ENV = OLD_NODE_ENV;
|
|
|
|
});
|
2018-05-13 15:11:51 +00:00
|
|
|
|
|
|
|
it('exports modules correctly', () => {
|
2023-03-13 07:08:43 +00:00
|
|
|
expect(Object.keys(antd)).toMatchSnapshot();
|
2019-01-12 03:33:27 +00:00
|
|
|
});
|
|
|
|
});
|