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