toggle caching in web component #3241
ci-cd.yml
on: push
deploy-branch
/
setup-environment
0s
deploy-main
/
setup-environment
deploy-tag
/
setup-environment
deploy-branch
/
build-deploy
5m 3s
deploy-main
/
build-deploy
deploy-tag
/
build-deploy
Annotations
3 errors and 2 warnings
test:
src/hooks/useProject.js#L74
TypeError: Cannot read properties of undefined (reading 'components')
at components (/home/runner/work/editor-ui/editor-ui/src/hooks/useProject.js:74:25)
at create (/home/runner/work/editor-ui/editor-ui/node_modules/react-dom/cjs/react-dom.development.js:23150:26)
at commitHookEffectListMount (/home/runner/work/editor-ui/editor-ui/node_modules/react-dom/cjs/react-dom.development.js:24931:11)
at commitPassiveMountOnFiber (/home/runner/work/editor-ui/editor-ui/node_modules/react-dom/cjs/react-dom.development.js:24891:9)
at commitPassiveMountEffects_complete (/home/runner/work/editor-ui/editor-ui/node_modules/react-dom/cjs/react-dom.development.js:24878:7)
at commitPassiveMountEffects_begin (/home/runner/work/editor-ui/editor-ui/node_modules/react-dom/cjs/react-dom.development.js:24866:3)
at commitPassiveMountEffects (/home/runner/work/editor-ui/editor-ui/node_modules/react-dom/cjs/react-dom.development.js:27039:3)
at flushPassiveEffectsImpl (/home/runner/work/editor-ui/editor-ui/node_modules/react-dom/cjs/react-dom.development.js:26984:14)
at flushPassiveEffects (/home/runner/work/editor-ui/editor-ui/node_modules/react-dom/cjs/react-dom.development.js:26769:9)
at callback (/home/runner/work/editor-ui/editor-ui/node_modules/react/cjs/react.development.js:2667:24)
at flushActQueue (/home/runner/work/editor-ui/editor-ui/node_modules/react/cjs/react.development.js:2582:11)
at actImplementation (/home/runner/work/editor-ui/editor-ui/node_modules/@testing-library/react/dist/act-compat.js:63:25)
at renderRoot (/home/runner/work/editor-ui/editor-ui/node_modules/@testing-library/react/dist/pure.js:159:25)
at renderRoot (/home/runner/work/editor-ui/editor-ui/node_modules/@testing-library/react/dist/pure.js:246:10)
at render (/home/runner/work/editor-ui/editor-ui/node_modules/@testing-library/react/dist/pure.js:293:7)
at Object.<anonymous> (/home/runner/work/editor-ui/editor-ui/src/hooks/useProject.test.js:163:15)
at Promise.then.completed (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:297:40)
at _runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:233:3)
at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:135:9)
at _runTestsForDescribeBlock (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/run.js:68:3)
at runAndTransformResultsToJestFormat (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/editor-ui/editor-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:74:19)
at runTestInternal (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/editor-ui/editor-ui/node_modules/jest-runner/build/testWorker.js:106:12)
|
test
Process completed with exit code 1.
|
test-cypress
Cypress tests: 22 failed
|
lint:
src/components/WebComponentProject/WebComponentProject.jsx#L18
'setEmbedded' is defined but never used
|
test-cypress
No files were found with the provided path: cypress/screenshots. No artifacts will be uploaded.
|