chore(deps): update npm non-major dependencies #19808
frontend-unit-tests.yml
on: push
CodeQL
4m 56s
Typechecking and linting
2m 20s
Testing
11m 3s
Annotations
10 errors
EditBinding without featureFlag › should render loading spinner:
undefined#L1
Expected test not to call console.warn().
If the warn is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'warn').mockImplementation() and test that the warning occurs.
⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
at console.captureMessage [as warn] (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-fail-on-console/index.js:63:11)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:13:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:28:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:37:5)
at logV6DeprecationWarnings (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/components.tsx:257:25)
at commitHookEffectListMount (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:3930:112)
at commitPassiveMountOnFiber (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:1573)
at commitPassiveMountEffects_complete (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:869)
at commitPassiveMountEffects_begin (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:570)
at commitPassiveMountEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:196)
at flushPassiveEffectsImpl (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4640:402)
at flushPassiveEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4635:371)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4570:84
at flushActQueue (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2337:28)
at act (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2261:15)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/act-compat.js:70:25
at renderRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:204:26)
at render (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:296:10)
at renderWithProviders (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/testing/mocks.tsx:104:14)
at renderEditBinding (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/components/config/editModal/EditDataModelBinding/EditBinding/EditBinding.test.tsx:79:27)
at Object.renderEditBinding (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/components/config/editModal/EditDataModelBinding/EditBinding/EditBinding.test.tsx:102:5)
at Promise.then.completed (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studi
|
SchemaEditor › should show context menu and trigger correct dispatch when adding a field on root:
undefined#L1
Expected test not to call console.warn().
If the warn is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'warn').mockImplementation() and test that the warning occurs.
⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
at console.captureMessage [as warn] (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-fail-on-console/index.js:63:11)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:13:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:28:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:37:5)
at logV6DeprecationWarnings (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/components.tsx:257:25)
at commitHookEffectListMount (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:3930:112)
at commitPassiveMountOnFiber (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:1573)
at commitPassiveMountEffects_complete (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:869)
at commitPassiveMountEffects_begin (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:570)
at commitPassiveMountEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:196)
at flushPassiveEffectsImpl (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4640:402)
at flushPassiveEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4635:371)
at performSyncWorkOnRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4437:179)
at flushSyncCallbacks (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:2155:108)
at commitRootImpl (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4629:1)
at commitRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4549:209)
at finishConcurrentRender (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4423:1)
at performConcurrentWorkOnRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4367:57)
at flushActQueue (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2337:28)
at act (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2261:15)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/act-compat.js:70:25
at renderRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:204:26)
at render (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:296:10)
at /home/runner/work/altinn-studio/altinn-studio/frontend/packages/schema-editor/test/renderWithProviders.tsx:33:26
at renderEditor (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/schema-editor/src/components/SchemaEditor/SchemaEditor.test.tsx:52:3)
at Object.renderEditor (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/schema-editor/src/components/SchemaEditor/SchemaEditor.test.tsx:96:5)
at Promise.then.completed (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
|
AccessListMembers › should show special party name if name is not found:
undefined#L1
Expected test not to call console.warn().
If the warn is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'warn').mockImplementation() and test that the warning occurs.
⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
at console.captureMessage [as warn] (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-fail-on-console/index.js:63:11)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:13:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:28:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:37:5)
at logV6DeprecationWarnings (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/components.tsx:257:25)
at commitHookEffectListMount (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:3930:112)
at commitPassiveMountOnFiber (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:1573)
at commitPassiveMountEffects_complete (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:869)
at commitPassiveMountEffects_begin (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:570)
at commitPassiveMountEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:196)
at flushPassiveEffectsImpl (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4640:402)
at flushPassiveEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4635:371)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4570:84
at flushActQueue (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2337:28)
at act (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2261:15)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/act-compat.js:70:25
at renderRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:204:26)
at render (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:296:10)
at renderAccessListMembers (/home/runner/work/altinn-studio/altinn-studio/frontend/resourceadm/components/AccessListMembers/AccessListMembers.test.tsx:389:9)
at renderAccessListMembers (/home/runner/work/altinn-studio/altinn-studio/frontend/resourceadm/components/AccessListMembers/AccessListMembers.test.tsx:399:3)
at Object.renderAndWaitForData (/home/runner/work/altinn-studio/altinn-studio/frontend/resourceadm/components/AccessListMembers/AccessListMembers.test.tsx:50:11)
at Promise.then.completed (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-c
|
Summary2Override › should be able to add new override:
undefined#L1
Expected test not to call console.warn().
If the warn is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'warn').mockImplementation() and test that the warning occurs.
⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
at console.captureMessage [as warn] (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-fail-on-console/index.js:63:11)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:13:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:28:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:37:5)
at logV6DeprecationWarnings (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/components.tsx:257:25)
at commitHookEffectListMount (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:3930:112)
at commitPassiveMountOnFiber (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:1573)
at commitPassiveMountEffects_complete (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:869)
at commitPassiveMountEffects_begin (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:570)
at commitPassiveMountEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:196)
at flushPassiveEffectsImpl (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4640:402)
at flushPassiveEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4635:371)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4570:84
at flushActQueue (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2337:28)
at act (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2261:15)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/act-compat.js:70:25
at renderRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:204:26)
at render (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:296:10)
at renderWithProviders (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/testing/mocks.tsx:104:14)
at render (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Summary2/Override/Summary2Override.test.tsx:353:22)
at Object.render (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Summary2/Override/Summary2Override.test.tsx:25:5)
at Promise.then.completed (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-stu
|
ImportResourceModal › selects environment and service:
undefined#L1
Expected test not to call console.warn().
If the warn is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'warn').mockImplementation() and test that the warning occurs.
⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
at console.captureMessage [as warn] (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-fail-on-console/index.js:63:11)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:13:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:28:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:37:5)
at logV6DeprecationWarnings (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/components.tsx:257:25)
at commitHookEffectListMount (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:3930:112)
at commitPassiveMountOnFiber (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:1573)
at commitPassiveMountEffects_complete (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:869)
at commitPassiveMountEffects_begin (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:570)
at commitPassiveMountEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:196)
at flushPassiveEffectsImpl (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4640:402)
at flushPassiveEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4635:371)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4570:84
at flushActQueue (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2337:28)
at act (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2261:15)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/act-compat.js:70:25
at renderRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:204:26)
at render (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:296:10)
at renderImportResourceModal (/home/runner/work/altinn-studio/altinn-studio/frontend/resourceadm/components/ImportResourceModal/ImportResourceModal.test.tsx:323:16)
at renderImportResourceModal (/home/runner/work/altinn-studio/altinn-studio/frontend/resourceadm/components/ImportResourceModal/ImportResourceModal.test.tsx:336:3)
at Object.renderAndOpenModal (/home/runner/work/altinn-studio/altinn-studio/frontend/resourceadm/components/ImportResourceModal/ImportResourceModal.test.tsx:47:11)
at Promise.then.completed (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node
|
DeployResourcePage › initially displays the spinner when loading data:
undefined#L1
Expected test not to call console.warn().
If the warn is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'warn').mockImplementation() and test that the warning occurs.
⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
at console.captureMessage [as warn] (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-fail-on-console/index.js:63:11)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:13:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:28:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:37:5)
at logV6DeprecationWarnings (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/components.tsx:257:25)
at commitHookEffectListMount (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:3930:112)
at commitPassiveMountOnFiber (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:1573)
at commitPassiveMountEffects_complete (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:869)
at commitPassiveMountEffects_begin (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:570)
at commitPassiveMountEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:196)
at flushPassiveEffectsImpl (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4640:402)
at flushPassiveEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4635:371)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4570:84
at flushActQueue (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2337:28)
at act (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2261:15)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/act-compat.js:70:25
at renderRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:204:26)
at render (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:296:10)
at renderDeployResourcePage (/home/runner/work/altinn-studio/altinn-studio/frontend/resourceadm/pages/DeployResourcePage/DeployResourcePage.test.tsx:341:16)
at Object.renderDeployResourcePage (/home/runner/work/altinn-studio/altinn-studio/frontend/resourceadm/pages/DeployResourcePage/DeployResourcePage.test.tsx:67:5)
at Promise.then.completed (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJest
|
Properties › Page config › shows page config when formItem is undefined:
undefined#L1
Expected test not to call console.warn().
If the warn is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'warn').mockImplementation() and test that the warning occurs.
⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
at console.captureMessage [as warn] (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-fail-on-console/index.js:63:11)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:13:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:28:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:37:5)
at logV6DeprecationWarnings (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/components.tsx:257:25)
at commitHookEffectListMount (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:3930:112)
at commitPassiveMountOnFiber (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:1573)
at commitPassiveMountEffects_complete (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:869)
at commitPassiveMountEffects_begin (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:570)
at commitPassiveMountEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:196)
at flushPassiveEffectsImpl (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4640:402)
at flushPassiveEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4635:371)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4570:84
at flushActQueue (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2337:28)
at act (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2261:15)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/act-compat.js:70:25
at renderRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:204:26)
at render (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:296:10)
at renderWithProviders (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/testing/mocks.tsx:104:14)
at renderProperties (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/components/Properties/Properties.test.tsx:297:29)
at Object.renderProperties (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/components/Properties/Properties.test.tsx:60:7)
at Promise.then.completed (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDe
|
ResourceDashBoardPage › fetches resource list on mount:
undefined#L1
Expected test not to call console.warn().
If the warn is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'warn').mockImplementation() and test that the warning occurs.
⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
at console.captureMessage [as warn] (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-fail-on-console/index.js:63:11)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:13:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:28:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:37:5)
at logV6DeprecationWarnings (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/components.tsx:257:25)
at commitHookEffectListMount (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:3930:112)
at commitPassiveMountOnFiber (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:1573)
at commitPassiveMountEffects_complete (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:869)
at commitPassiveMountEffects_begin (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:570)
at commitPassiveMountEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:196)
at flushPassiveEffectsImpl (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4640:402)
at flushPassiveEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4635:371)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4570:84
at flushActQueue (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2337:28)
at act (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2261:15)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/act-compat.js:70:25
at renderRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:204:26)
at render (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:296:10)
at renderResourceDashboardPage (/home/runner/work/altinn-studio/altinn-studio/frontend/resourceadm/pages/ResourceDashboardPage/ResourceDashboardPage.test.tsx:330:16)
at Object.renderResourceDashboardPage (/home/runner/work/altinn-studio/altinn-studio/frontend/resourceadm/pages/ResourceDashboardPage/ResourceDashboardPage.test.tsx:74:5)
at Promise.then.completed (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:71:3)
at runAndTran
|
DataModelBindings › renders EditDataModelBindings component when schema is present:
undefined#L1
Expected test not to call console.warn().
If the warn is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'warn').mockImplementation() and test that the warning occurs.
⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
at console.captureMessage [as warn] (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-fail-on-console/index.js:63:11)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:13:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:28:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:37:5)
at logV6DeprecationWarnings (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/components.tsx:257:25)
at commitHookEffectListMount (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:3930:112)
at commitPassiveMountOnFiber (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:1573)
at commitPassiveMountEffects_complete (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:869)
at commitPassiveMountEffects_begin (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:570)
at commitPassiveMountEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:196)
at flushPassiveEffectsImpl (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4640:402)
at flushPassiveEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4635:371)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4570:84
at flushActQueue (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2337:28)
at act (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2261:15)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/act-compat.js:70:25
at renderRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:204:26)
at render (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:296:10)
at renderWithProviders (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/testing/mocks.tsx:104:14)
at render (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/components/Properties/DataModelBindings.test.tsx:330:29)
at Object.render (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor/src/components/Properties/DataModelBindings.test.tsx:52:5)
at Promise.then.completed (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/wo
|
FormItemContext › should update the form item when calling handleUpdate:
undefined#L1
Expected test not to call console.warn().
If the warn is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'warn').mockImplementation() and test that the warning occurs.
⚠️ React Router Future Flag Warning: React Router will begin wrapping state updates in `React.startTransition` in v7. You can use the `v7_startTransition` future flag to opt-in early. For more information, see https://reactrouter.com/v6/upgrading/future#v7_starttransition.
at console.captureMessage [as warn] (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-fail-on-console/index.js:63:11)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:13:7)
at logDeprecation (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:28:7)
at Object.logDeprecation [as UNSAFE_logV6DeprecationWarnings] (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router/lib/deprecations.ts:37:5)
at v7_startTransition (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-router-dom/index.tsx:804:9)
at commitHookEffectListMount (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:3930:112)
at commitPassiveMountOnFiber (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:1573)
at commitPassiveMountEffects_complete (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:869)
at commitPassiveMountEffects_begin (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:570)
at commitPassiveMountEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4143:196)
at flushPassiveEffectsImpl (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4640:402)
at flushPassiveEffects (/home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4635:371)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/react-dom/cjs/react-dom.development.js:4570:84
at flushActQueue (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2337:28)
at act (/home/runner/work/altinn-studio/altinn-studio/node_modules/react/cjs/react.development.js:2261:15)
at /home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/act-compat.js:70:25
at renderRoot (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:204:26)
at render (/home/runner/work/altinn-studio/altinn-studio/node_modules/@testing-library/react/dist/pure.js:296:10)
at /home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor-v3/src/testing/mocks.tsx:86:32
at render (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor-v3/src/containers/FormItemContext.test.tsx:48:29)
at Object.render (/home/runner/work/altinn-studio/altinn-studio/frontend/packages/ux-editor-v3/src/containers/FormItemContext.test.tsx:66:5)
at Promise.then.completed (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/altinn-studio/altinn-studio/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/altinn
|