Improve flaky storybook test (#8515)

I don't think that will solve the flaky test but at least it will
cleanup the error message to avoid confusion
This commit is contained in:
Félix Malfait
2024-11-15 14:29:39 +01:00
committed by GitHub
parent bd18eb8b42
commit 34a3a66451
15 changed files with 341 additions and 131 deletions

View File

@ -15,7 +15,7 @@ export const generateEmptyFieldValue = (
return { primaryEmail: '', additionalEmails: null };
}
case FieldMetadataType.Links: {
return { primaryLinkUrl: '', primaryLinkLabel: '', secondaryLinks: null };
return { primaryLinkUrl: '', primaryLinkLabel: '', secondaryLinks: [] };
}
case FieldMetadataType.FullName: {
return {