Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Terala-Priyanka committed Dec 18, 2024
1 parent 408e93d commit 0c50bf7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/routes/RequestsRoute.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ const mockedRequest = {
instanceId: 'instanceId',
item: {
barcode: 'itemBarcode',
retrievalServicePointId: '3a40852d-49fd-4df2-a1f9-6e2641a6e91f',
retrievalServicePointName: 'Circ Desk 1',
},
requester: {
barcode: 'requesterBarcode',
Expand Down Expand Up @@ -357,6 +359,10 @@ describe('RequestsRoute', () => {
}
],
},
item: {
retrievalServicePointId: '3a40852d-49fd-4df2-a1f9-6e2641a6e91f',
retrievalServicePointName: 'Circ Desk 1',
},
tags: {
tagList: ['tag1', 'tag2'],
},
Expand Down Expand Up @@ -628,7 +634,7 @@ describe('RequestsRoute', () => {
expect(printContent).toBeInTheDocument();
});

it('should trigger "exportCsv"', async () => {
it("should trigger 'exportCsv'", async () => {
await userEvent.click(screen.getByRole('button', { name: 'ui-requests.exportSearchResultsToCsv' }));

await waitFor(() => {
Expand Down

0 comments on commit 0c50bf7

Please sign in to comment.