Cloning into '/home/prow/go/src/github.com/google/licenseclassifier'... Activated service account credentials for: [prow-account@tekton-releases.iam.gserviceaccount.com] == Running ./runner.sh backward compatibility test runner === + [[ 11 -ne 0 ]] + case $1 in + shift + [[ 10 -ne 0 ]] + case $1 in + shift + [[ 9 -ne 0 ]] + case $1 in + shift + [[ 8 -ne 0 ]] + case $1 in + shift + [[ 7 -ne 0 ]] + case $1 in + shift + [[ 6 -ne 0 ]] + case $1 in ++ cut -d = -f2 + gcloud auth activate-service-account --key-file=/etc/test-account/service-account.json Activated service account credentials for: [prow-account@tekton-releases.iam.gserviceaccount.com] + shift + [[ 5 -ne 0 ]] + case $1 in + shift + [[ 4 -ne 0 ]] + case $1 in + shift + [[ -- == \-\- ]] + shift + break + ./test/presubmit-tests.sh --unit-tests Changed files in commit 2d28f26bb64ef75abdb93820c4b0a413932cb577: ui/package-lock.json ui/package.json Updated property [component_manager/disable_update_check]. ============================ ==== CURRENT TEST SETUP ==== ============================ >> gcloud SDK version Google Cloud SDK 504.0.0 alpha 2024.12.13 beta 2024.12.13 bq 2.1.11 bundled-python3-unix 3.11.9 core 2024.12.13 docker-credential-gcr 1.5.0 gcloud-crc32c 1.0.0 gke-gcloud-auth-plugin 0.5.9 gsutil 5.33 kubectl 1.30.5 >> kubectl version Client Version: v1.32.0-alpha.0 Kustomize Version: v5.4.2 >> go version go: downloading go1.23.8 (linux/amd64) go version go1.23.8 linux/amd64 >> git version git version 2.43.0 ============================ ==== RUNNING UNIT TESTS ==== ============================ No changes detected related to API INFO: Installing node 2025-08-18 05:38:30 - Installing pre-requisites Get:1 https://download.docker.com/linux/ubuntu noble InRelease [48.8 kB] Get:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] Get:3 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages [34.8 kB] Get:4 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1333 kB] Hit:5 http://archive.ubuntu.com/ubuntu noble InRelease Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] Get:7 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1990 kB] Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1135 kB] Get:9 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [23.0 kB] Get:10 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB] Get:11 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [45.2 kB] Get:12 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1679 kB] Get:13 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1454 kB] Get:14 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2119 kB] Get:15 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [48.8 kB] Get:16 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [35.6 kB] Fetched 10.3 MB in 2s (5720 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... ca-certificates is already the newest version (20240203). curl is already the newest version (8.5.0-2ubuntu10.6). The following additional packages will be installed: apt dirmngr gnupg-utils gnupg2 gpg gpg-agent gpgconf gpgsm gpgv keyboxd libapt-pkg6.0t64 Suggested packages: apt-doc aptitude | synaptic | wajig powermgmt-base dbus-user-session pinentry-gnome3 tor parcimonie xloadimage gpg-wks-server scdaemon Recommended packages: gnupg-l10n gpg-wks-client The following packages will be upgraded: apt apt-transport-https dirmngr gnupg gnupg-utils gnupg2 gpg gpg-agent gpgconf gpgsm gpgv keyboxd libapt-pkg6.0t64 13 upgraded, 0 newly installed, 0 to remove and 119 not upgraded. Need to get 4524 kB of archives. After this operation, 11.3 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libapt-pkg6.0t64 amd64 2.8.3 [985 kB] Get:2 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 dirmngr amd64 2.4.4-2ubuntu17.3 [323 kB] Get:3 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 gnupg-utils amd64 2.4.4-2ubuntu17.3 [109 kB] Get:4 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 gpgsm amd64 2.4.4-2ubuntu17.3 [232 kB] Get:5 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 gpg-agent amd64 2.4.4-2ubuntu17.3 [227 kB] Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 gpg amd64 2.4.4-2ubuntu17.3 [565 kB] Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 gpgconf amd64 2.4.4-2ubuntu17.3 [104 kB] Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 gnupg all 2.4.4-2ubuntu17.3 [359 kB] Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 keyboxd amd64 2.4.4-2ubuntu17.3 [78.3 kB] Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 gpgv amd64 2.4.4-2ubuntu17.3 [158 kB] Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 apt amd64 2.8.3 [1376 kB] Get:12 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 apt-transport-https all 2.8.3 [3970 B] Get:13 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 gnupg2 all 2.4.4-2ubuntu17.3 [4748 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 4524 kB in 0s (10.6 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 23213 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0t64_2.8.3_amd64.deb ... Unpacking libapt-pkg6.0t64:amd64 (2.8.3) over (2.7.14build2) ... Setting up libapt-pkg6.0t64:amd64 (2.8.3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 23213 files and directories currently installed.) Preparing to unpack .../0-dirmngr_2.4.4-2ubuntu17.3_amd64.deb ... Unpacking dirmngr (2.4.4-2ubuntu17.3) over (2.4.4-2ubuntu17) ... Preparing to unpack .../1-gnupg-utils_2.4.4-2ubuntu17.3_amd64.deb ... Unpacking gnupg-utils (2.4.4-2ubuntu17.3) over (2.4.4-2ubuntu17) ... Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu17.3_amd64.deb ... Unpacking gpgsm (2.4.4-2ubuntu17.3) over (2.4.4-2ubuntu17) ... Preparing to unpack .../3-gpg-agent_2.4.4-2ubuntu17.3_amd64.deb ... Unpacking gpg-agent (2.4.4-2ubuntu17.3) over (2.4.4-2ubuntu17) ... Preparing to unpack .../4-gpg_2.4.4-2ubuntu17.3_amd64.deb ... Unpacking gpg (2.4.4-2ubuntu17.3) over (2.4.4-2ubuntu17) ... Preparing to unpack .../5-gpgconf_2.4.4-2ubuntu17.3_amd64.deb ... Unpacking gpgconf (2.4.4-2ubuntu17.3) over (2.4.4-2ubuntu17) ... Preparing to unpack .../6-gnupg_2.4.4-2ubuntu17.3_all.deb ... Unpacking gnupg (2.4.4-2ubuntu17.3) over (2.4.4-2ubuntu17) ... Preparing to unpack .../7-keyboxd_2.4.4-2ubuntu17.3_amd64.deb ... Unpacking keyboxd (2.4.4-2ubuntu17.3) over (2.4.4-2ubuntu17) ... Preparing to unpack .../8-gpgv_2.4.4-2ubuntu17.3_amd64.deb ... Unpacking gpgv (2.4.4-2ubuntu17.3) over (2.4.4-2ubuntu17) ... Setting up gpgv (2.4.4-2ubuntu17.3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 23213 files and directories currently installed.) Preparing to unpack .../archives/apt_2.8.3_amd64.deb ... Unpacking apt (2.8.3) over (2.7.14build2) ... Setting up apt (2.8.3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 23213 files and directories currently installed.) Preparing to unpack .../apt-transport-https_2.8.3_all.deb ... Unpacking apt-transport-https (2.8.3) over (2.7.14build2) ... Preparing to unpack .../gnupg2_2.4.4-2ubuntu17.3_all.deb ... Unpacking gnupg2 (2.4.4-2ubuntu17.3) over (2.4.4-2ubuntu17) ... Setting up apt-transport-https (2.8.3) ... Setting up gpgconf (2.4.4-2ubuntu17.3) ... Setting up gpg (2.4.4-2ubuntu17.3) ... Setting up gnupg-utils (2.4.4-2ubuntu17.3) ... Setting up gpg-agent (2.4.4-2ubuntu17.3) ... Setting up gpgsm (2.4.4-2ubuntu17.3) ... Setting up dirmngr (2.4.4-2ubuntu17.3) ... Setting up keyboxd (2.4.4-2ubuntu17.3) ... Setting up gnupg (2.4.4-2ubuntu17.3) ... Setting up gnupg2 (2.4.4-2ubuntu17.3) ... Processing triggers for libc-bin (2.39-0ubuntu8.3) ... Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease Hit:2 https://download.docker.com/linux/ubuntu noble InRelease Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease Get:6 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB] Get:7 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [11.7 kB] Fetched 23.9 kB in 1s (26.9 kB/s) Reading package lists... 2025-08-18 05:38:55 - Repository configured successfully. 2025-08-18 05:38:55 - To install Node.js, run: apt-get install nodejs -y 2025-08-18 05:38:55 - You can use N|solid Runtime as a node.js alternative 2025-08-18 05:38:55 - To install N|solid Runtime, run: apt-get install nsolid -y  Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 119 not upgraded. Need to get 29.7 MB of archives. After this operation, 187 MB of additional disk space will be used. Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.20.8-1nodesource1 [29.7 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 29.7 MB in 1s (50.8 MB/s) Selecting previously unselected package nodejs. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 23213 files and directories currently installed.) Preparing to unpack .../nodejs_18.20.8-1nodesource1_amd64.deb ... Unpacking nodejs (18.20.8-1nodesource1) ... Setting up nodejs (18.20.8-1nodesource1) ... v18.20.8 Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: npm : Depends: node-agent-base but it is not going to be installed Depends: node-archy but it is not going to be installed Depends: node-cacache (>= 17) but it is not going to be installed Depends: node-chalk (>= 5.1.2-2~) but it is not going to be installed Depends: node-cli-table3 Depends: node-columnify but it is not going to be installed Depends: node-cssesc Depends: node-debug but it is not going to be installed Depends: node-emoji-regex Depends: node-gyp but it is not going to be installed Depends: node-http-proxy-agent but it is not going to be installed Depends: node-https-proxy-agent but it is not going to be installed Depends: node-mkdirp but it is not going to be installed Depends: node-ms but it is not going to be installed Depends: node-nopt but it is not going to be installed Depends: node-normalize-package-data but it is not going to be installed Depends: node-npm-bundled but it is not going to be installed Depends: node-npm-normalize-package-bin Depends: node-npm-package-arg (>= 10) but it is not going to be installed Depends: node-npmlog but it is not going to be installed Depends: node-postcss-selector-parser Depends: node-read-package-json but it is not going to be installed Depends: node-rimraf but it is not going to be installed Depends: node-semver but it is not going to be installed Depends: node-string-width but it is not going to be installed Depends: node-strip-ansi but it is not going to be installed Depends: node-tar but it is not going to be installed Depends: node-validate-npm-package-name but it is not going to be installed Depends: node-which but it is not going to be installed Depends: nodejs:any Recommends: node-tap but it is not going to be installed E: Unable to correct problems, you have held broken packages. 10.8.2 ---------------------------- -- Running UI Unit Tests -- ---------------------------- cd ui && npm clean-install && CI=true npm test npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'react-router@7.8.1', npm warn EBADENGINE required: { node: '>=20.0.0' }, npm warn EBADENGINE current: { node: 'v18.20.8', npm: '10.8.2' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'react-router-dom@7.8.1', npm warn EBADENGINE required: { node: '>=20.0.0' }, npm warn EBADENGINE current: { node: 'v18.20.8', npm: '10.8.2' } npm warn EBADENGINE } npm warn deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. npm warn deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser npm warn deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead npm warn deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0 npm warn deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. npm warn deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 npm warn deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. added 1835 packages, and audited 1836 packages in 57s 416 packages are looking for funding run `npm fund` for details 5 moderate severity vulnerabilities To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. > ui@0.1.0 test > react-app-rewired test FAIL src/containers/Header/Header.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Header/Header.test.tsx'   2 | import { mount } from 'enzyme';  3 | import { when } from 'mobx'; > 4 | import { BrowserRouter as Router } from 'react-router-dom';  | ^  5 | import { Modal } from '@patternfly/react-core';  6 | import Header from '.';  7 | import Search from '../../containers/Search'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Header/Header.test.tsx:4:1) PASS src/store/platform.test.ts FAIL src/containers/BasicDetails/BasicDetails.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/BasicDetails/BasicDetails.test.tsx'   12 | const { Provider, root } = createProviderAndStore(api);  13 | > 14 | jest.mock('react-router-dom', () => {  | ^  15 | return {  16 | useNavigate: () => {  17 | return { at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.mock (src/containers/BasicDetails/BasicDetails.test.tsx:14:6) FAIL src/containers/Rating/Rating.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Rating/Rating.test.tsx'   11 | const { Provider, root } = createProviderAndStore(api);  12 | > 13 | jest.mock('react-router-dom', () => {  | ^  14 | return {  15 | useNavigate: () => {  16 | return { at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.mock (src/containers/Rating/Rating.test.tsx:13:6) FAIL src/containers/Details/Details.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Details/Details.test.tsx'   14 | const { Provider, root } = createProviderAndStore(api);  15 | > 16 | jest.mock('react-router-dom', () => {  | ^  17 | return {  18 | useNavigate: () => {  19 | return { at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.mock (src/containers/Details/Details.test.tsx:16:6) PASS src/store/kind.test.ts FAIL src/containers/Search/Search.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/Search.test.tsx'   12 | const { Provider, root } = createProviderAndStore(api);  13 | > 14 | jest.mock('react-router-dom', () => ({  | ^  15 | useNavigate: () => ({  16 | replace: jest.fn()  17 | }) at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.mock (src/containers/Search/Search.test.tsx:14:6) FAIL src/containers/CatalogFilter/CatalogFilter.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/CatalogFilter/CatalogFilter.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/CatalogFilter/CatalogFilter.test.tsx:4:1) FAIL src/containers/KindFilter/KindFilter.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/KindFilter/KindFilter.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/KindFilter/KindFilter.test.tsx:4:1) FAIL src/containers/CategoryFilter/CategoryFilter.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/CategoryFilter/index.tsx src/containers/CategoryFilter/CategoryFilter.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/CategoryFilter/index.tsx:3:1) at Object.require (src/containers/CategoryFilter/CategoryFilter.test.tsx:3:1) FAIL src/components/Description/Description.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/components/Description/Description.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/components/Description/Description.test.tsx:6:1) FAIL src/containers/App/App.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/App/App.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/App/App.test.tsx:4:1) FAIL src/store/resource.test.ts ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/resource.test.ts   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/resource.test.ts:1:1) FAIL src/containers/Resources/Resources.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Resources/Resources.test.tsx'   3 | import { when } from 'mobx';  4 | import { EmptyState, GalleryItem, Button } from '@patternfly/react-core'; > 5 | import { BrowserRouter as Router } from 'react-router-dom';  | ^  6 | import { FakeHub } from '../../api/testutil';  7 | import { createProviderAndStore } from '../../store/root';  8 | import Cards from '../../components/Cards'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Resources/Resources.test.tsx:5:1) FAIL src/components/Cards/Cards.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/components/Cards/Cards.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/components/Cards/Cards.test.tsx:5:1) FAIL src/containers/PlatformFilter/PlatformFilter.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/PlatformFilter/PlatformFilter.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/PlatformFilter/PlatformFilter.test.tsx:6:1) PASS src/components/Readme/Readme.test.tsx PASS src/store/tag.test.ts FAIL src/containers/ParseUrl/ParseUrl.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/ParseUrl/ParseUrl.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/ParseUrl/ParseUrl.test.tsx:3:1) FAIL src/components/PageNotFound/PageNotFound.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/components/PageNotFound/PageNotFound.test.tsx'   3 | import { PageNotFound } from './index';  4 | > 5 | jest.mock('react-router-dom', () => {  | ^  6 | return {  7 | useNavigate: () => {  8 | return { at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.mock (src/components/PageNotFound/PageNotFound.test.tsx:5:6) PASS src/components/Icon/Icon.test.tsx (5.25 s) FAIL src/utils/updateUrl.test.ts ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/utils/updateUrl.ts src/utils/updateUrl.test.ts   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/utils/updateUrl.ts:2:1) at Object.require (src/utils/updateUrl.test.ts:1:1) PASS src/store/utils.test.ts PASS src/store/provider.test.ts PASS src/components/AlertDisplay/AlertDisplay.test.tsx PASS src/components/Yaml/Yaml.test.tsx PASS src/common/trimUrl.test.ts PASS src/common/scrollToTop.test.ts PASS src/components/TooltipDisplay/TooltipDisplay.test.tsx (6.087 s) PASS src/common/titlecase.test.ts FAIL src/containers/SortDropDown/SortDropDown.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/SortDropDown/SortDropDown.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/SortDropDown/SortDropDown.test.tsx:5:1) PASS src/components/Footer/Footer.test.tsx FAIL src/components/Filter/Filter.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/components/Filter/Filter.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/components/Filter/Filter.test.tsx:7:1) FAIL src/containers/UserProfile/UserProfile.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/UserProfile/index.tsx src/containers/UserProfile/UserProfile.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/UserProfile/index.tsx:13:1) at Object.require (src/containers/UserProfile/UserProfile.test.tsx:4:1) PASS src/components/Background/Background.test.tsx FAIL src/components/ResourceDetailsPage/ResourceDetailsPage.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Details/index.tsx' Require stack: src/containers/Details/index.tsx src/components/ResourceDetailsPage/index.tsx src/components/ResourceDetailsPage/ResourceDetailsPage.test.tsx   1 | import React from 'react';  2 | import { observer } from 'mobx-react'; > 3 | import { useParams } from 'react-router-dom';  | ^  4 | import { Spinner } from '@patternfly/react-core';  5 | import { useMst } from '../../store/root';  6 | import BasicDetails from '../BasicDetails'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Details/index.tsx:3:1) at Object.require (src/components/ResourceDetailsPage/index.tsx:3:1) at Object.require (src/components/ResourceDetailsPage/ResourceDetailsPage.test.tsx:3:1) FAIL src/components/HomePage/HomePage.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/CatalogFilter/index.tsx src/components/LeftPane/index.tsx src/components/HomePage/index.tsx src/components/HomePage/HomePage.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/CatalogFilter/index.tsx:4:1) at Object.require (src/components/LeftPane/index.tsx:4:1) at Object.require (src/components/HomePage/index.tsx:3:1) at Object.require (src/components/HomePage/HomePage.test.tsx:3:1) FAIL src/components/LeftPane/LeftPane.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/CatalogFilter/index.tsx src/components/LeftPane/index.tsx src/components/LeftPane/LeftPane.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/CatalogFilter/index.tsx:4:1) at Object.require (src/components/LeftPane/index.tsx:4:1) at Object.require (src/components/LeftPane/LeftPane.test.tsx:2:1) PASS src/store/category.test.ts (8.194 s) PASS src/store/catalog.test.ts (9.405 s) PASS src/store/auth.test.ts (10.372 s) Summary of all failing tests FAIL src/containers/Header/Header.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Header/Header.test.tsx'   2 | import { mount } from 'enzyme';  3 | import { when } from 'mobx'; > 4 | import { BrowserRouter as Router } from 'react-router-dom';  | ^  5 | import { Modal } from '@patternfly/react-core';  6 | import Header from '.';  7 | import Search from '../../containers/Search'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Header/Header.test.tsx:4:1) FAIL src/containers/BasicDetails/BasicDetails.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/BasicDetails/BasicDetails.test.tsx'   12 | const { Provider, root } = createProviderAndStore(api);  13 | > 14 | jest.mock('react-router-dom', () => {  | ^  15 | return {  16 | useNavigate: () => {  17 | return { at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.mock (src/containers/BasicDetails/BasicDetails.test.tsx:14:6) FAIL src/containers/Rating/Rating.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Rating/Rating.test.tsx'   11 | const { Provider, root } = createProviderAndStore(api);  12 | > 13 | jest.mock('react-router-dom', () => {  | ^  14 | return {  15 | useNavigate: () => {  16 | return { at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.mock (src/containers/Rating/Rating.test.tsx:13:6) FAIL src/containers/Details/Details.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Details/Details.test.tsx'   14 | const { Provider, root } = createProviderAndStore(api);  15 | > 16 | jest.mock('react-router-dom', () => {  | ^  17 | return {  18 | useNavigate: () => {  19 | return { at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.mock (src/containers/Details/Details.test.tsx:16:6) FAIL src/containers/Search/Search.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/Search.test.tsx'   12 | const { Provider, root } = createProviderAndStore(api);  13 | > 14 | jest.mock('react-router-dom', () => ({  | ^  15 | useNavigate: () => ({  16 | replace: jest.fn()  17 | }) at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.mock (src/containers/Search/Search.test.tsx:14:6) FAIL src/containers/CatalogFilter/CatalogFilter.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/CatalogFilter/CatalogFilter.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/CatalogFilter/CatalogFilter.test.tsx:4:1) FAIL src/containers/KindFilter/KindFilter.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/KindFilter/KindFilter.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/KindFilter/KindFilter.test.tsx:4:1) FAIL src/containers/CategoryFilter/CategoryFilter.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/CategoryFilter/index.tsx src/containers/CategoryFilter/CategoryFilter.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/CategoryFilter/index.tsx:3:1) at Object.require (src/containers/CategoryFilter/CategoryFilter.test.tsx:3:1) FAIL src/components/Description/Description.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/components/Description/Description.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/components/Description/Description.test.tsx:6:1) FAIL src/containers/App/App.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/App/App.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/App/App.test.tsx:4:1) FAIL src/store/resource.test.ts ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/resource.test.ts   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/resource.test.ts:1:1) FAIL src/containers/Resources/Resources.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Resources/Resources.test.tsx'   3 | import { when } from 'mobx';  4 | import { EmptyState, GalleryItem, Button } from '@patternfly/react-core'; > 5 | import { BrowserRouter as Router } from 'react-router-dom';  | ^  6 | import { FakeHub } from '../../api/testutil';  7 | import { createProviderAndStore } from '../../store/root';  8 | import Cards from '../../components/Cards'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Resources/Resources.test.tsx:5:1) FAIL src/components/Cards/Cards.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/components/Cards/Cards.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/components/Cards/Cards.test.tsx:5:1) FAIL src/containers/PlatformFilter/PlatformFilter.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/PlatformFilter/PlatformFilter.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/PlatformFilter/PlatformFilter.test.tsx:6:1) FAIL src/containers/ParseUrl/ParseUrl.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/ParseUrl/ParseUrl.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/ParseUrl/ParseUrl.test.tsx:3:1) FAIL src/components/PageNotFound/PageNotFound.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/components/PageNotFound/PageNotFound.test.tsx'   3 | import { PageNotFound } from './index';  4 | > 5 | jest.mock('react-router-dom', () => {  | ^  6 | return {  7 | useNavigate: () => {  8 | return { at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.mock (src/components/PageNotFound/PageNotFound.test.tsx:5:6) FAIL src/utils/updateUrl.test.ts ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/utils/updateUrl.ts src/utils/updateUrl.test.ts   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/utils/updateUrl.ts:2:1) at Object.require (src/utils/updateUrl.test.ts:1:1) FAIL src/containers/SortDropDown/SortDropDown.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/SortDropDown/SortDropDown.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/SortDropDown/SortDropDown.test.tsx:5:1) FAIL src/components/Filter/Filter.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/components/Filter/Filter.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/components/Filter/Filter.test.tsx:7:1) FAIL src/containers/UserProfile/UserProfile.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/UserProfile/index.tsx src/containers/UserProfile/UserProfile.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/UserProfile/index.tsx:13:1) at Object.require (src/containers/UserProfile/UserProfile.test.tsx:4:1) FAIL src/components/ResourceDetailsPage/ResourceDetailsPage.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Details/index.tsx' Require stack: src/containers/Details/index.tsx src/components/ResourceDetailsPage/index.tsx src/components/ResourceDetailsPage/ResourceDetailsPage.test.tsx   1 | import React from 'react';  2 | import { observer } from 'mobx-react'; > 3 | import { useParams } from 'react-router-dom';  | ^  4 | import { Spinner } from '@patternfly/react-core';  5 | import { useMst } from '../../store/root';  6 | import BasicDetails from '../BasicDetails'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Details/index.tsx:3:1) at Object.require (src/components/ResourceDetailsPage/index.tsx:3:1) at Object.require (src/components/ResourceDetailsPage/ResourceDetailsPage.test.tsx:3:1) FAIL src/components/HomePage/HomePage.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/CatalogFilter/index.tsx src/components/LeftPane/index.tsx src/components/HomePage/index.tsx src/components/HomePage/HomePage.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/CatalogFilter/index.tsx:4:1) at Object.require (src/components/LeftPane/index.tsx:4:1) at Object.require (src/components/HomePage/index.tsx:3:1) at Object.require (src/components/HomePage/HomePage.test.tsx:3:1) FAIL src/components/LeftPane/LeftPane.test.tsx ● Test suite failed to run Cannot find module 'react-router-dom' from 'src/containers/Search/index.tsx' Require stack: src/containers/Search/index.tsx src/store/resource.ts src/store/root.tsx src/containers/CatalogFilter/index.tsx src/components/LeftPane/index.tsx src/components/LeftPane/LeftPane.test.tsx   1 | import React from 'react'; > 2 | import { useNavigate } from 'react-router-dom';  | ^  3 | import { useHotkeys } from 'react-hotkeys-hook';  4 | import { useMst } from '../../store/root';  5 | import { observer } from 'mobx-react'; at Resolver.resolveModule (node_modules/react-scripts/node_modules/jest-resolve/build/resolver.js:324:11) at Object.require (src/containers/Search/index.tsx:2:1) at Object.require (src/store/resource.ts:15:1) at Object.require (src/store/root.tsx:5:1) at Object.require (src/containers/CatalogFilter/index.tsx:4:1) at Object.require (src/components/LeftPane/index.tsx:4:1) at Object.require (src/components/LeftPane/LeftPane.test.tsx:2:1) Test Suites: 23 failed, 18 passed, 41 total Tests: 58 passed, 58 total Snapshots: 25 passed, 25 total Time: 11.838 s Ran all test suites. make: *** [Makefile:69: ui-test] Error 1 ERROR: ui unit test failed + EXIT_VALUE=1 + set +o xtrace