mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
chore: fix test script
This commit is contained in:
parent
74ae7f68f0
commit
a92044afba
@ -76,7 +76,7 @@ function baseText(doInject: boolean, component: string, options: Options = {}) {
|
||||
// Inject cssinjs cache to avoid create <style /> element
|
||||
Demo = <StyleProvider cache={createCache()}>{Demo}</StyleProvider>;
|
||||
|
||||
render(Demo);
|
||||
enzymeRender(Demo);
|
||||
|
||||
expect(errSpy).not.toHaveBeenCalledWith(expect.stringContaining('[Ant Design CSS-in-JS]'));
|
||||
MockDate.reset();
|
||||
|
Loading…
Reference in New Issue
Block a user