Skip to content

Commit

Permalink
spy on reinitializeForm method
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmajchrak committed Jan 22, 2024
1 parent 3ca583e commit 7f4fd1e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ describe('SubmissionSectionFormComponent test suite', () => {
formConfigService.findByHref.and.returnValue(createSuccessfulRemoteDataObject$(testFormConfiguration));
spyOn(comp, 'initForm');
spyOn(comp, 'subscriptions');
spyOn(comp, 'reinitializeForm');

const wi = new WorkspaceItem();
wi.item = createSuccessfulRemoteDataObject$(mockItemWithMetadataFieldsAndValue(['local.sponsor'], EU_SPONSOR));
Expand Down

0 comments on commit 7f4fd1e

Please sign in to comment.