fix invalidation order #3234
GitHub Actions / Jest Unit Test Results
failed
Oct 27, 2024 in 0s
2 fail, 285 pass in 3m 5s
Annotations
Check warning on line 0 in useConfirmChanges should handle confirmChanges function correctly
github-actions / Jest Unit Test Results
useConfirmChanges should handle confirmChanges function correctly (useConfirmChanges should handle confirmChanges function correctly) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: queryClient.removeQueries is not a function
at Object.confirmChanges (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/hooks/useConfirmChanges.js:50:17)
at /home/runner/work/ui-bulk-edit/ui-bulk-edit/src/hooks/useConfirmChanges.test.js:88:22
at act (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react/cjs/react.development.js:2512:16)
at actWithWarning (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
at _callee$ (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/hooks/useConfirmChanges.test.js:87:8)
at tryCatch (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
at new Promise (<anonymous>)
at Object.<anonymous> (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
at Object.asyncJestTest (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:75:41
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check warning on line 0 in useConfirmChanges should handle error in confirmChanges function
github-actions / Jest Unit Test Results
useConfirmChanges should handle error in confirmChanges function (useConfirmChanges should handle error in confirmChanges function) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: queryClient.removeQueries is not a function
at Object.confirmChanges (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/hooks/useConfirmChanges.js:50:17)
at /home/runner/work/ui-bulk-edit/ui-bulk-edit/src/hooks/useConfirmChanges.test.js:115:22
at act (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react/cjs/react.development.js:2512:16)
at actWithWarning (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
at _callee2$ (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/hooks/useConfirmChanges.test.js:114:8)
at tryCatch (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
at new Promise (<anonymous>)
at Object.<anonymous> (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
at Object.asyncJestTest (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:75:41
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Loading