Skip to content

update tests

update tests #3489

GitHub Actions / Jest Unit Test Results failed Dec 18, 2024 in 0s

1 fail, 312 pass in 3m 21s

    1 files  ±0    50 suites  +1   3m 21s ⏱️ ±0s
313 tests +2  312 ✔️ +1  0 💤 ±0  1 +1 
320 runs  +2  319 ✔️ +1  0 💤 ±0  1 +1 

Results for commit b16b785. ± Comparison against earlier commit 697b45f.

Annotations

Check warning on line 0 in useCommitChanges should commit changes successfully

See this annotation in the file changed.

@github-actions 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)