Skip to content

Commit

Permalink
DEV review update
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Jul 18, 2023
1 parent a4e03e2 commit c336195
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,17 @@ exports[`ScansContext should apply a hook for retrieving data from multiple sele
"totalResults": 0,
},
"mockStoreSuccessResponse": {
"data": [],
"data": [
"lorem",
"ipsum",
],
"date": undefined,
"error": undefined,
"errorMessage": undefined,
"error": false,
"errorMessage": null,
"expandedRows": {},
"fulfilled": undefined,
"fulfilled": true,
"hasData": false,
"pending": undefined,
"pending": false,
"selectedRows": {},
"totalResults": 0,
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/scans/__tests__/scansContext.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ describe('ScansContext', () => {
);

const { result: mockStoreSuccessResponse } = await renderHook(

Check failure on line 86 in src/components/scans/__tests__/scansContext.test.js

View workflow job for this annotation

GitHub Actions / Integration-checks (18.x)

Replace `⏎······()·=>·useScans(),⏎·····` with `()·=>·useScans(),`

Check failure on line 86 in src/components/scans/__tests__/scansContext.test.js

View workflow job for this annotation

GitHub Actions / Integration-checks (20.x)

Replace `⏎······()·=>·useScans(),⏎·····` with `()·=>·useScans(),`
() => useScans({ useSelectorsResponse: () => ({}) }),
() => useScans(),
{
state: {

Check failure on line 89 in src/components/scans/__tests__/scansContext.test.js

View workflow job for this annotation

GitHub Actions / Integration-checks (18.x)

Delete `··`

Check failure on line 89 in src/components/scans/__tests__/scansContext.test.js

View workflow job for this annotation

GitHub Actions / Integration-checks (20.x)

Delete `··`
view: {

Check failure on line 90 in src/components/scans/__tests__/scansContext.test.js

View workflow job for this annotation

GitHub Actions / Integration-checks (18.x)

Delete `··`

Check failure on line 90 in src/components/scans/__tests__/scansContext.test.js

View workflow job for this annotation

GitHub Actions / Integration-checks (20.x)

Delete `··`
Expand Down

0 comments on commit c336195

Please sign in to comment.