Skip to content

UIIN-3137: Add the isSearchToggleHitInBrowse flag to the history stat… #8307

UIIN-3137: Add the isSearchToggleHitInBrowse flag to the history stat…

UIIN-3137: Add the isSearchToggleHitInBrowse flag to the history stat… #8307

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

1 fail, 2 skipped, 1 012 pass in 14m 56s

       1 files  ±0     253 suites  ±0   14m 56s ⏱️ +15s
1 015 tests ±0  1 012 ✔️  - 1  2 💤 ±0  1 +1 
1 022 runs  ±0  1 019 ✔️  - 1  2 💤 ±0  1 +1 

Results for commit 5ec2722. ± Comparison against earlier commit 7ece690.

Annotations

Check warning on line 0 in BrowseInventory should have search prop in SearchModeNavigation component

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

BrowseInventory should have search prop in SearchModeNavigation component (BrowseInventory should have search prop in SearchModeNavigation component) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

- Expected
+ Received

  Object {
    "search": "?qindex=title&query=book&sort=title",
+   "state": Object {
+     "isSearchToggleHitInBrowse": true,
+   },
  },
  {},

Number of calls: 1
    at Object.toHaveBeenCalledWith (/home/runner/work/ui-inventory/ui-inventory/src/views/BrowseInventory/BrowseInventory.test.js:149:34)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)