fix tests

This commit is contained in:
Mark Kaylor 2022-05-16 14:26:54 +02:00
parent 7b14697fa5
commit c1ce4dc070

View File

@ -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' } },
};