test: simplify snapshots for LocaleProvider

This commit is contained in:
Benjy Cui 2017-10-31 14:55:53 +08:00
parent 8c904de7d4
commit b38c9c11a8
2 changed files with 45537 additions and 187816 deletions

View File

@ -90,7 +90,7 @@ describe('Locale Provider', () => {
<App /> <App />
</LocaleProvider> </LocaleProvider>
); );
expect(wrapper).toMatchSnapshot(); expect(wrapper.render()).toMatchSnapshot();
}); });
MockDate.reset(); MockDate.reset();
}); });