update tests #3489
GitHub Actions / Jest Unit Test Results
failed
Dec 18, 2024 in 0s
1 fail, 312 pass in 3m 21s
Annotations
Check warning on line 0 in useCommitChanges should commit changes successfully
github-actions / Jest Unit Test Results
useCommitChanges should commit changes successfully (useCommitChanges should commit changes successfully) failed
artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"pathname": "/bulk-edit/123/preview",
- "search": "?progress=testCriteria&?query=test",
+ "search": "?progress=[object Object]&?query=test",
},
Number of calls: 1
at _callee2$ (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/hooks/useCommitChanges.test.js:90:25)
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)
Loading