Skip to content

Commit

Permalink
Update test with null parent collection value
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges-GNM committed Oct 9, 2024
1 parent 2054e07 commit dce4077
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ const createStateWithChangedFormFields = (
describe('CardForm transform functions', () => {
describe('Derive form values from a derived article', () => {
it('should derive values', () => {
expect(getInitialValuesForCardForm(derivedArticle)).toEqual(formValues);
expect(getInitialValuesForCardForm(derivedArticle, null)).toEqual(
formValues
);
});
it('should handle existing slideshows of any length', () => {
const exampleImage = {
Expand Down

0 comments on commit dce4077

Please sign in to comment.