Skip to content

Commit

Permalink
test: Test fails on CI because of non mocked component -- easy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanFreestone committed Mar 1, 2024
1 parent e0f9cff commit 2fdb4e7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jest.mock('../../../common/hooks', () => ({
])),
}));

jest.mock('@folio/service-interaction', () => ({
NumberGeneratorModalButton: () => <div>NumberGeneratorModalButton</div>

Check failure on line 26 in src/Organizations/OrganizationForm/OrganizationSummaryForm/OrganizationSummaryForm.test.js

View workflow job for this annotation

GitHub Actions / github-actions-ci

Missing trailing comma

Check failure on line 26 in src/Organizations/OrganizationForm/OrganizationSummaryForm/OrganizationSummaryForm.test.js

View workflow job for this annotation

GitHub Actions / github-actions-ci

Missing trailing comma
}));

const TestForm = stripesFinalForm({})(
() => {
return (
Expand Down

0 comments on commit 2fdb4e7

Please sign in to comment.