Skip to content

add mock for stripes-connect props parameter to ViewAllLogs test #1813

add mock for stripes-connect props parameter to ViewAllLogs test

add mock for stripes-connect props parameter to ViewAllLogs test #1813

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Jest Unit Test Results failed Oct 2, 2023 in 0s

2 fail, 3 skipped, 1 221 pass in 18m 19s

       1 files  ±0     219 suites  ±0   18m 19s ⏱️ + 5m 47s
1 226 tests ±0  1 221 ✔️ +4  3 💤 ±0  2  - 4 
1 237 runs  ±0  1 232 ✔️ +4  3 💤 ±0  2  - 4 

Results for commit a050779. ± Comparison against earlier commit 4bfff34.

Annotations

Check warning on line 0 in Job summary page when close the pane when previous location is set should redirect to the previous location

See this annotation in the file changed.

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

Job summary page when close the pane when previous location is set should redirect to the previous location (Job summary page when close the pane when previous location is set should redirect to the previous location) failed

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

Expected: "/test"

Number of calls: 0
    at Object.toHaveBeenCalledWith (/home/runner/work/ui-data-import/ui-data-import/src/routes/JobSummary/JobSummary.test.js:153:30)
    at Promise.then.completed (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:316:40)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processTimers (node:internal/timers:509:9)
    at _runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:444:34)

Check warning on line 0 in Job summary page when close the pane when previous location is not set should redirect to Data Import landing page

See this annotation in the file changed.

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

Job summary page when close the pane when previous location is not set should redirect to Data Import landing page (Job summary page when close the pane when previous location is not set should redirect to Data Import landing page) failed

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

Expected: "/data-import"

Number of calls: 0
    at Object.toHaveBeenCalledWith (/home/runner/work/ui-data-import/ui-data-import/src/routes/JobSummary/JobSummary.test.js:164:30)
    at Promise.then.completed (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:316:40)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processTimers (node:internal/timers:509:9)
    at _runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:444:34)