Skip to content

Commit

Permalink
chore(deps): lock file maintenance (#8072)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 23, 2022
1 parent 3f6747e commit bbc2969
Show file tree
Hide file tree
Showing 2 changed files with 1,598 additions and 1,555 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,25 +239,25 @@ test('preview props api', () => {
conditional: {
discriminant: false,
schema: componentBlocks.complex.schema.object.fields.conditional,
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
options: undefined,
value: {
schema: componentBlocks.complex.schema.object.fields.conditional.values.false,
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
value: null,
},
},
conditionalSelect: {
discriminant: 'a',
schema: componentBlocks.complex.schema.object.fields.conditionalSelect,
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
options: [
{ label: 'A', value: 'a' },
{ label: 'B', value: 'b' },
],
value: {
schema: componentBlocks.complex.schema.object.fields.conditionalSelect.values.a,
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
options: undefined,
value: '',
},
Expand All @@ -269,28 +269,28 @@ test('preview props api', () => {
many: {
schema: componentBlocks.complex.schema.object.fields.many,
value: [],
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
},
prop: {
schema: componentBlocks.complex.schema.object.fields.prop,
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
options: undefined,
value: '',
},
select: {
schema: componentBlocks.complex.schema.object.fields.select,
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
options: [
{ label: 'A', value: 'a' },
{ label: 'B', value: 'b' },
],
value: 'a',
},
},
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
},
},
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
};
expect(previewProps).toEqual(expectedPreviewProps);
});
Expand Down Expand Up @@ -371,7 +371,7 @@ test('preview props conditional change', () => {
const expectedConditionalPreviewProps: typeof conditionalPreviewProps = {
schema: componentBlocks.complex.schema.object.fields.conditional,
discriminant: true,
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
options: undefined,
value: {
element: React.createElement(ChildFieldEditable, {
Expand Down Expand Up @@ -441,14 +441,14 @@ test('changing conditional with form inside', () => {
const expectedConditionalSelectPreviewProps: typeof conditionalSelectPreviewProps = {
discriminant: 'b',
schema: componentBlocks.complex.schema.object.fields.conditionalSelect,
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
options: [
{ label: 'A', value: 'a' },
{ label: 'B', value: 'b' },
],
value: {
schema: componentBlocks.complex.schema.object.fields.conditionalSelect.values.b,
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
options: undefined,
value: 'B',
},
Expand All @@ -475,14 +475,14 @@ test('changing form inside conditional', () => {
const expectedConditionalSelectPreviewProps: typeof conditionalSelectPreviewProps = {
discriminant: 'a',
schema: componentBlocks.complex.schema.object.fields.conditionalSelect,
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
options: [
{ label: 'A', value: 'a' },
{ label: 'B', value: 'b' },
],
value: {
schema: componentBlocks.complex.schema.object.fields.conditionalSelect.values.a,
onChange: expect.any(Function),
onChange: expect.any(Function) as any,
options: undefined,
value: 'Some content',
},
Expand Down
Loading

1 comment on commit bbc2969

@vercel
Copy link

@vercel vercel bot commented on bbc2969 Nov 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.