Skip to content

Rework flow to immediately set config to okapi for compatibility. #2315

Rework flow to immediately set config to okapi for compatibility.

Rework flow to immediately set config to okapi for compatibility. #2315

GitHub Actions / Jest Unit Test Results failed Jun 7, 2024 in 0s

1 fail, 227 pass in 58s

228 tests  ±0   227 ✔️  - 1   58s ⏱️ -2s
  45 suites ±0       0 💤 ±0 
    1 files   ±0       1 +1 

Results for commit 1b1a71b. ± Comparison against earlier commit e5c73eb.

Annotations

Check warning on line 0 in RootWithIntl AuthnLogin handles third-party login handles single-tenant

See this annotation in the file changed.

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

RootWithIntl AuthnLogin handles third-party login handles single-tenant (RootWithIntl AuthnLogin handles third-party login handles single-tenant) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'dispatch')
    at dispatch (/home/runner/work/stripes-core/stripes-core/src/components/AuthnLogin/AuthnLogin.js:18:19)
    at setTenant (/home/runner/work/stripes-core/stripes-core/src/components/AuthnLogin/AuthnLogin.js:33:7)
    at commitHookEffectListMount (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:23150:26)
    at commitPassiveMountOnFiber (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:24931:11)
    at commitPassiveMountEffects_complete (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:24891:9)
    at commitPassiveMountEffects_begin (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:24878:7)
    at commitPassiveMountEffects (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:24866:3)
    at flushPassiveEffectsImpl (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:27039:3)
    at flushPassiveEffects (/home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:26984:14)
    at /home/runner/work/stripes-core/stripes-core/node_modules/react-dom/cjs/react-dom.development.js:26769:9
    at flushActQueue (/home/runner/work/stripes-core/stripes-core/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/stripes-core/stripes-core/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/dist/pure.js:271:10)
    at Object.<anonymous> (/home/runner/work/stripes-core/stripes-core/src/RootWithIntl.test.js:45:15)
    at Promise.then.completed (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/testWorker.js:106:12)