mirror of
https://github.com/strapi/strapi.git
synced 2025-12-13 07:55:33 +00:00
fix tests
This commit is contained in:
parent
7b14697fa5
commit
c1ce4dc070
@ -147,8 +147,10 @@ describe('Build Component Schema', () => {
|
||||
|
||||
const expectedShape = {
|
||||
type: 'object',
|
||||
required: ['data'],
|
||||
properties: {
|
||||
data: {
|
||||
required: [],
|
||||
type: 'object',
|
||||
properties: { test: { type: 'string' } },
|
||||
},
|
||||
@ -237,6 +239,7 @@ describe('Build Component Schema', () => {
|
||||
|
||||
const expectedShape = {
|
||||
type: 'object',
|
||||
required: ['locale'],
|
||||
properties: { test: { type: 'string' } },
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user