Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Test query client #649

Merged
merged 7 commits into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/e2e/item/delete/gridRecycleItem.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('Recycle Item in Grid', () => {

describe('Error handling', () => {
it('error while deleting item does not recycle in interface', () => {
cy.setUpApi({ ...SAMPLE_ITEMS, recycleItemError: true });
cy.setUpApi({ ...SAMPLE_ITEMS, recycleItemsError: true });
const { id } = SAMPLE_ITEMS.items[0];
const { id: idToDelete } = SAMPLE_ITEMS.items[2];

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/item/delete/listRecycleItem.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('Recycle Item in List', () => {

describe('Error handling', () => {
it('error while recycling item does not recycle in interface', () => {
cy.setUpApi({ ...SAMPLE_ITEMS, recycleItemError: true });
cy.setUpApi({ ...SAMPLE_ITEMS, recycleItemsError: true });
const { id } = SAMPLE_ITEMS.items[0];
const { id: idToDelete } = SAMPLE_ITEMS.items[2];

Expand Down
1 change: 0 additions & 1 deletion cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ Cypress.Commands.add(
postItemFlagError = false,
getItemChatError = false,
recycleItemsError = false,
// getRecycledItemsError = false,
deleteItemTagError = false,
restoreItemsError = false,
getItemThumbnailError = false,
Expand Down
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"Alexandre Chau"
],
"dependencies": {
"@emotion/react": "11.11.0",
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@graasp/chatbox": "2.0.0-rc.1",
"@graasp/query-client": "1.0.0-rc1",
"@graasp/query-client": "1.0.0-rc.2",
"@graasp/sdk": "1.0.0-rc1",
"@graasp/translations": "1.14.0",
"@graasp/ui": "3.0.0-rc.2",
Expand Down Expand Up @@ -142,12 +142,11 @@
"resolutions": {
"@mui/icons-material": "5.11.16",
"@mui/material": "5.12.3",
"immer": "9.0.6",
"node-forge": "1.3.0",
"@graasp/sdk": "1.0.0-rc1",
"nth-check": "2.0.1",
"react-error-overlay": "6.0.9",
"@types/react": "17.0.2",
"immer": "9.0.21",
"node-forge": "1.3.1",
"nth-check": "2.1.1",
"react-error-overlay": "6.0.11",
"@types/react": "17.0.62",
"@svgr/webpack": "6.5.1"
},
"packageManager": "[email protected]"
Expand Down
Loading