mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 19:42:54 +08:00
parent
f3231bc375
commit
1b03cfdd29
@ -280,6 +280,7 @@
|
|||||||
"stylelint-config-standard": "^29.0.0",
|
"stylelint-config-standard": "^29.0.0",
|
||||||
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
|
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
|
||||||
"sylvanas": "^0.6.1",
|
"sylvanas": "^0.6.1",
|
||||||
|
"terser": "^5.16.1",
|
||||||
"ts-node": "^10.8.2",
|
"ts-node": "^10.8.2",
|
||||||
"typedoc": "^0.23.21",
|
"typedoc": "^0.23.21",
|
||||||
"typescript": "~4.9.3",
|
"typescript": "~4.9.3",
|
||||||
|
@ -117,22 +117,6 @@ function baseText(doInject: boolean, component: string, options: Options = {}) {
|
|||||||
html,
|
html,
|
||||||
}).toMatchSnapshot();
|
}).toMatchSnapshot();
|
||||||
|
|
||||||
// if (typeof document === 'undefined') {
|
|
||||||
// // Server
|
|
||||||
// expect(() => {
|
|
||||||
// renderToString(Demo);
|
|
||||||
// }).not.toThrow();
|
|
||||||
// } else {
|
|
||||||
// // Client
|
|
||||||
// const { container } = render(Demo);
|
|
||||||
// ariaConvert(container);
|
|
||||||
|
|
||||||
// const { children } = container;
|
|
||||||
// const child = children.length > 1 ? Array.from(children) : children[0];
|
|
||||||
|
|
||||||
// expect(child).toMatchSnapshot();
|
|
||||||
// }
|
|
||||||
|
|
||||||
errSpy.mockRestore();
|
errSpy.mockRestore();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user