mirror of
https://github.com/strapi/strapi.git
synced 2025-08-11 02:07:51 +00:00
Mock buffet core
This commit is contained in:
parent
a25edc7f91
commit
521ee1a136
@ -6,6 +6,11 @@ jest.mock('@buffetjs/styles', () => ({
|
||||
Tooltip: () => null,
|
||||
}));
|
||||
|
||||
jest.mock('@buffetjs/core', () => ({
|
||||
Padded: props => <div {...props} />,
|
||||
Text: props => <p {...props} />,
|
||||
}));
|
||||
|
||||
describe('LocaleListCell', () => {
|
||||
it('returns the default locale first, then the others sorted alphabetically', () => {
|
||||
const locales = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user