Skip to content

update react and relevant dependencies #6778

update react and relevant dependencies

update react and relevant dependencies #6778

Status Failure
Total duration 2m 20s
Artifacts 2

tests.yml

on: push
Unit test
58s
Unit test
Matrix: Integration test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
src/tests/unit/availability.test.tsx > usePhysicalAvailability tests > Test that if one material is a book and is available, the hook returns that the material is available: src/tests/unit/availability.test.tsx#L73
TypeError: ReactDOM.render is not a function ❯ node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18 ❯ Object.process.env.NODE_ENV.exports.act node_modules/react/cjs/react.development.js:1081:22 ❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20 ❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26 ❯ Proxy.renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5 ❯ src/tests/unit/availability.test.tsx:73:24
src/tests/unit/availability.test.tsx > usePhysicalAvailability tests > Test that if the material is a book amd no material is available the hook returns that it is unavailable: src/tests/unit/availability.test.tsx#L113
TypeError: ReactDOM.render is not a function ❯ node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18 ❯ Object.process.env.NODE_ENV.exports.act node_modules/react/cjs/react.development.js:1081:22 ❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20 ❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26 ❯ Proxy.renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5 ❯ src/tests/unit/availability.test.tsx:113:24
src/tests/unit/availability.test.tsx > usePhysicalAvailability tests > Test that if the material is an article it will always be available even though the remote service tells otherwise: src/tests/unit/availability.test.tsx#L153
TypeError: ReactDOM.render is not a function ❯ node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18 ❯ Object.process.env.NODE_ENV.exports.act node_modules/react/cjs/react.development.js:1081:22 ❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20 ❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26 ❯ Proxy.renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5 ❯ src/tests/unit/availability.test.tsx:153:24
src/tests/unit/availability.test.tsx > usePhysicalAvailability tests > Test that if the material is an article it will always be available even though the remote service tells otherwise: src/tests/unit/availability.test.tsx#L193
TypeError: ReactDOM.render is not a function ❯ node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18 ❯ Object.process.env.NODE_ENV.exports.act node_modules/react/cjs/react.development.js:1081:22 ❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20 ❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26 ❯ Proxy.renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5 ❯ src/tests/unit/availability.test.tsx:193:24
src/tests/unit/availability.test.tsx > usePhysicalAvailability tests > Test that if the hook is not enabled it should return null statuses: src/tests/unit/availability.test.tsx#L220
TypeError: ReactDOM.render is not a function ❯ node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18 ❯ Object.process.env.NODE_ENV.exports.act node_modules/react/cjs/react.development.js:1081:22 ❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20 ❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26 ❯ Proxy.renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5 ❯ src/tests/unit/availability.test.tsx:220:24
src/tests/unit/availability.test.tsx > useOnlineAvailabilityData tests > If the useGetV1ProductsIdentifier service tells us that the material is NOT `costFree` (not a blue title) and the material belongs to 'Ereol' (the access param) the Publizon product status should dictate the availability : src/tests/unit/availability.test.tsx#L299
TypeError: ReactDOM.render is not a function ❯ node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18 ❯ Object.process.env.NODE_ENV.exports.act node_modules/react/cjs/react.development.js:1081:22 ❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20 ❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26 ❯ Proxy.renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5 ❯ src/tests/unit/availability.test.tsx:299:37
src/tests/unit/availability.test.tsx > useOnlineAvailabilityData tests > Test that if the material is cost free nothing else matters: src/tests/unit/availability.test.tsx#L401
TypeError: ReactDOM.render is not a function ❯ node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18 ❯ Object.process.env.NODE_ENV.exports.act node_modules/react/cjs/react.development.js:1081:22 ❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20 ❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26 ❯ Proxy.renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5 ❯ src/tests/unit/availability.test.tsx:401:24
src/tests/unit/availability.test.tsx > useOnlineAvailabilityData tests > Test that if the hook is not enabled it should return null statuses: src/tests/unit/availability.test.tsx#L435
TypeError: ReactDOM.render is not a function ❯ node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18 ❯ Object.process.env.NODE_ENV.exports.act node_modules/react/cjs/react.development.js:1081:22 ❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20 ❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26 ❯ Proxy.renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5 ❯ src/tests/unit/availability.test.tsx:435:24
src/tests/unit/config.test.tsx > Should handle config with string arrays: src/tests/unit/config.test.tsx#L30
TypeError: ReactDOM.render is not a function ❯ node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18 ❯ Object.process.env.NODE_ENV.exports.act node_modules/react/cjs/react.development.js:1081:22 ❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20 ❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26 ❯ Proxy.renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5 ❯ src/tests/unit/config.test.tsx:30:22
src/tests/unit/config.test.tsx > Should handle config with array with objects: src/tests/unit/config.test.tsx#L43
TypeError: ReactDOM.render is not a function ❯ node_modules/@testing-library/react-hooks/lib/dom/pure.js:80:18 ❯ Object.process.env.NODE_ENV.exports.act node_modules/react/cjs/react.development.js:1081:22 ❯ process.env.NODE_ENV.exports.act node_modules/react-dom/cjs/react-dom-test-utils.development.js:22:20 ❯ render node_modules/@testing-library/react-hooks/lib/dom/pure.js:79:26 ❯ Proxy.renderHook node_modules/@testing-library/react-hooks/lib/core/index.js:114:5 ❯ src/tests/unit/config.test.tsx:43:22
Unit test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration test (3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration test (3)
No files were found with the provided path: cypress/videos. No artifacts will be uploaded.
Integration test (3)
No files were found with the provided path: cypress/screenshots. No artifacts will be uploaded.
Integration test (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration test (2)
No files were found with the provided path: cypress/videos. No artifacts will be uploaded.
Integration test (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration test (1)
No files were found with the provided path: cypress/videos. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
cypress-screenshots-1
245 KB
cypress-screenshots-2
241 KB