Skip to content

Commit

Permalink
refactor(28015): fix props
Browse files Browse the repository at this point in the history
  • Loading branch information
vanch3d committed Nov 26, 2024
1 parent 5b0bb04 commit e936d64
Showing 1 changed file with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,16 @@ describe('useTagManager', () => {
expect(result.current).toStrictEqual(
expect.objectContaining({
context: {
formData: undefined,
formData: {
items: [],
},
schema: undefined,
uiSchema: expect.objectContaining({}),
},
data: undefined,
error: 'The protocol adapter for this device cannot be found',
data: {
items: [],
},
error: 'Internal Server Error',
isError: true,
isLoading: false,
isPending: false,
Expand All @@ -110,13 +114,16 @@ describe('useTagManager', () => {
expect(result.current).toStrictEqual(
expect.objectContaining({
context: {
formData: undefined,
formData: {
items: [],
},
schema: undefined,
uiSchema: expect.objectContaining({}),
},
data: undefined,
error: 'The form cannot be created, due to internal errors',

data: {
items: [],
},
error: 'Internal Server Error',
isError: true,
isLoading: false,
isPending: false,
Expand Down

0 comments on commit e936d64

Please sign in to comment.