mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
test: simplify snapshots for LocaleProvider
This commit is contained in:
parent
8c904de7d4
commit
b38c9c11a8
File diff suppressed because it is too large
Load Diff
@ -90,7 +90,7 @@ describe('Locale Provider', () => {
|
|||||||
<App />
|
<App />
|
||||||
</LocaleProvider>
|
</LocaleProvider>
|
||||||
);
|
);
|
||||||
expect(wrapper).toMatchSnapshot();
|
expect(wrapper.render()).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
MockDate.reset();
|
MockDate.reset();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user