Details

      Description

      https://testray.liferay.com/home/-/testray/case_results/778077196

           [exec] FAIL test/components/process-metrics/filter/store/VelocityUnitStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'VelocityUnitStore.es.js'
           [exec] 
           [exec]       10 |  */
           [exec]       11 | 
           [exec]     > 12 | import {act, renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       13 | import React, {useContext} from 'react';
           [exec]       14 | import {
           [exec]       15 | 	velocityUnitConstants,
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/process-metrics/filter/store/VelocityUnitStore.es.js:12:1)
           [exec] 
           [exec] FAIL test/components/sla/store/SLANodeStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'SLANodeStore.es.js'
           [exec] 
           [exec]       10 |  */
           [exec]       11 | 
           [exec]     > 12 | import {act, renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       13 | import client from '../../../mock/fetch.es';
           [exec]       14 | import {useSLANodes} from '../../../../src/main/resources/META-INF/resources/js/components/sla/store/SLANodeStore.es';
           [exec]       15 | 
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/sla/store/SLANodeStore.es.js:12:1)
           [exec] 
           [exec] FAIL test/components/process-metrics/filter/store/ProcessStatusStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'ProcessStatusStore.es.js'
           [exec] 
           [exec]       18 | } from '../../../../../src/main/resources/META-INF/resources/js/components/process-metrics/filter/store/ProcessStatusStore.es';
           [exec]       19 | import React, {useContext} from 'react';
           [exec]     > 20 | import {renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       21 | 
           [exec]       22 | describe('The selected process statuses should', () => {
           [exec]       23 | 	test('Be empty when there is no initial key', () => {
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/process-metrics/filter/store/ProcessStatusStore.es.js:20:1)
           [exec] 
           [exec] PASS test/shared/components/filter/Filter.es.js
           [exec]   ??? Console
           [exec] 
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move data fetching code or side effects to componentDidUpdate.
           [exec]       * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
           [exec]       * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: Filter
           [exec] 
           [exec] FAIL test/components/process-metrics/filter/store/SLAStatusStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'SLAStatusStore.es.js'
           [exec] 
           [exec]       18 | } from '../../../../../src/main/resources/META-INF/resources/js/components/process-metrics/filter/store/SLAStatusStore.es';
           [exec]       19 | import {act, create} from 'react-test-renderer';
           [exec]     > 20 | import {renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       21 | 
           [exec]       22 | describe('The selected SLA statuses should', () => {
           [exec]       23 | 	test('Be empty when there is no initial key', () => {
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/process-metrics/filter/store/SLAStatusStore.es.js:20:1)
           [exec] 
           [exec] FAIL test/components/sla/store/SLAStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'SLAStore.es.js'
           [exec] 
           [exec]       10 |  */
           [exec]       11 | 
           [exec]     > 12 | import {act, renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       13 | import {
           [exec]       14 | 	START_NODE_KEYS,
           [exec]       15 | 	STOP_NODE_KEYS
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/sla/store/SLAStore.es.js:12:1)
           [exec] 
           [exec] PASS test/shared/components/pagination/Pagination.es.js
           [exec] PASS test/components/process-metrics/completion-velocity/store/VelocityDataStore.es.js
           [exec] PASS test/components/process-metrics/completion-velocity/VelocityChart.es.js (7.114s)
           [exec] (node:6720) UnhandledPromiseRejectionWarning: TypeError: ReactWrapper::state("pageSize") requires that `state` not be `null` or `undefined`
           [exec] (node:6720) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
           [exec] (node:6720) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
           [exec] (node:6720) UnhandledPromiseRejectionWarning: TypeError: ReactWrapper::state("start") requires that `state` not be `null` or `undefined`
           [exec] (node:6720) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
           [exec] PASS test/components/process-list/ProcessListCard.es.js
           [exec]   ??? Console
           [exec] 
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move code with side effects to componentDidMount, and set initial state in the constructor.
           [exec]       * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: ProcessListCard
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move data fetching code or side effects to componentDidUpdate.
           [exec]       * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
           [exec]       * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: ProcessListCard, Search
           [exec] 
           [exec] PASS test/components/process-metrics/completion-velocity/store/VelocityFiltersStore.es.js
           [exec] PASS test/components/process-metrics/workload-by-step/WorkloadByStepCard.es.js
           [exec]   ??? Console
           [exec] 
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move data fetching code or side effects to componentDidUpdate.
           [exec]       * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
           [exec]       * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: WorkloadByStepCard
           [exec] 
           [exec] PASS test/components/process-metrics/process-items/SummaryCard.es.js
           [exec] PASS test/shared/components/Tooltip.es.js
           [exec] PASS test/shared/components/MultiSelect.es.js
           [exec] PASS test/shared/components/filter/FilterResultsBar.es.js
           [exec] PASS test/shared/components/pagination/PageItem.es.js
           [exec] PASS test/components/sla/store/calendarStore.es.js
           [exec] PASS test/shared/components/filter/FilterResultsItem.es.js
           [exec] PASS test/components/process-metrics/filter/VelocityUnitFilter.es.js
           [exec]   ??? Console
           [exec] 
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move data fetching code or side effects to componentDidUpdate.
           [exec]       * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
           [exec]       * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: Filter
           [exec] 
           [exec] PASS test/components/sla/SLAListItem.es.js
           [exec] PASS test/shared/components/tabs/Tabs.es.js
           [exec] PASS test/shared/components/Panel.es.js
           [exec] PASS test/shared/components/header-controller/HeaderTitle.es.js
           [exec] PASS test/components/sla/util/slaFormUtil.es.js
           [exec] PASS test/components/sla/SLAConfirmDialog.es.js
           [exec]   ??? Console
           [exec] 
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move code with side effects to componentDidMount, and set initial state in the constructor.
           [exec]       * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: SLAListCard
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move data fetching code or side effects to componentDidUpdate.
           [exec]       * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
           [exec]       * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: SLAListCard
           [exec] 
           [exec] (node:6720) UnhandledPromiseRejectionWarning: TypeError: (0 , _OpenToast.default) is not a function
           [exec] (node:6720) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6)
           [exec] (node:6720) UnhandledPromiseRejectionWarning: TypeError: (0 , _OpenToast.default) is not a function
           [exec] (node:6720) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 9)
           [exec] (node:6720) UnhandledPromiseRejectionWarning: TypeError: (0 , _OpenToast.default) is not a function
           [exec] (node:6720) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 12)
           [exec] PASS test/components/process-metrics/ProcessMetrics.es.js
           [exec]   ??? Console
           [exec] 
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move data fetching code or side effects to componentDidUpdate.
           [exec]       * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
           [exec]       * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: WorkloadByStepCard
           [exec] 
           [exec] (node:6711) UnhandledPromiseRejectionWarning: TypeError: (0 , _OpenToast.default) is not a function
           [exec] (node:6711) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
           [exec] (node:6711) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
           [exec] PASS test/components/sla/SLAListCard.es.js
           [exec]   ??? Console
           [exec] 
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move code with side effects to componentDidMount, and set initial state in the constructor.
           [exec]       * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: SLAListCard
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move data fetching code or side effects to componentDidUpdate.
           [exec]       * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
           [exec]       * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: SLAListCard
           [exec] 
           [exec] PASS test/components/process-metrics/filter/ProcessStatusFilter.es.js
           [exec]   ??? Console
           [exec] 
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move data fetching code or side effects to componentDidUpdate.
           [exec]       * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
           [exec]       * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: Filter
           [exec] 
           [exec] PASS test/components/process-metrics/filter/SLAStatusFilter.es.js
           [exec]   ??? Console
           [exec] 
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move data fetching code or side effects to componentDidUpdate.
           [exec]       * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
           [exec]       * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: Filter
           [exec] 
           [exec] PASS test/components/process-list/ResultsBar.es.js
           [exec] PASS test/components/process-metrics/workload-by-step/WorkloadByStepTable.es.js
           [exec] PASS test/components/sla/SLAListTable.es.js
           [exec] (node:6704) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined
           [exec] (node:6704) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
           [exec] (node:6704) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
           [exec] (node:6704) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined
           [exec] (node:6704) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
           [exec] PASS test/components/sla/SLAForm.es.js (11.308s)
           [exec] PASS test/shared/components/header-controller/PortalComponent.es.js
           [exec] PASS test/shared/components/pagination/PageLink.es.js
           [exec] PASS test/components/App.es.js
           [exec] PASS test/components/process-list/ProcessListItem.es.js
           [exec] PASS test/shared/components/header-controller/HeaderMenuBackItem.es.js
           [exec] PASS test/components/process-metrics/completion-velocity/CompletionVelocityCard.es.js
           [exec]   ??? Console
           [exec] 
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move data fetching code or side effects to componentDidUpdate.
           [exec]       * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
           [exec]       * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: Filter
           [exec] 
           [exec] PASS test/shared/components/pagination/PageSizeEntries.es.js
           [exec] PASS test/components/process-list/ProcessListTable.es.js
           [exec] PASS test/shared/components/pagination/Search.es.js
           [exec]   ??? Console
           [exec] 
           [exec]     console.warn ../../../node_modules/react-dom/cjs/react-dom.development.js:11494
           [exec]       Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
           [exec]       
           [exec]       * Move data fetching code or side effects to componentDidUpdate.
           [exec]       * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
           [exec]       * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
           [exec]       
           [exec]       Please update the following components: Search
           [exec] 
           [exec] FAIL test/components/sla/store/ErrorsStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'ErrorsStore.es.js'
           [exec] 
           [exec]       10 |  */
           [exec]       11 | 
           [exec]     > 12 | import {act, renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       13 | import {useErrors} from '../../../../src/main/resources/META-INF/resources/js/components/sla/store/ErrorsStore.es';
           [exec]       14 | 
           [exec]       15 | test('Should test with error', () => {
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/sla/store/ErrorsStore.es.js:12:1)
           [exec] 
           [exec] PASS test/shared/components/pagination/PaginationBar.es.js
           [exec] PASS test/shared/components/pagination/DisplayResult.es.js
           [exec] PASS test/shared/components/chart/TooltipChart.es.js
           [exec] PASS test/shared/components/pagination/PageSizeItem.es.js
           [exec] PASS test/shared/components/list/ReloadButton.es.js
           [exec] PASS test/shared/components/loading/LoadingState.es.js
           [exec] PASS test/components/open-processes-summary/OpenProcessesSummary.es.js
           [exec] 
           [exec] Summary of all failing tests
           [exec] FAIL test/components/process-metrics/filter/store/VelocityUnitStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'VelocityUnitStore.es.js'
           [exec] 
           [exec]       10 |  */
           [exec]       11 | 
           [exec]     > 12 | import {act, renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       13 | import React, {useContext} from 'react';
           [exec]       14 | import {
           [exec]       15 | 	velocityUnitConstants,
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/process-metrics/filter/store/VelocityUnitStore.es.js:12:1)
           [exec] 
           [exec] FAIL test/components/sla/store/SLANodeStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'SLANodeStore.es.js'
           [exec] 
           [exec]       10 |  */
           [exec]       11 | 
           [exec]     > 12 | import {act, renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       13 | import client from '../../../mock/fetch.es';
           [exec]       14 | import {useSLANodes} from '../../../../src/main/resources/META-INF/resources/js/components/sla/store/SLANodeStore.es';
           [exec]       15 | 
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/sla/store/SLANodeStore.es.js:12:1)
           [exec] 
           [exec] FAIL test/components/process-metrics/filter/store/ProcessStatusStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'ProcessStatusStore.es.js'
           [exec] 
           [exec]       18 | } from '../../../../../src/main/resources/META-INF/resources/js/components/process-metrics/filter/store/ProcessStatusStore.es';
           [exec]       19 | import React, {useContext} from 'react';
           [exec]     > 20 | import {renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       21 | 
           [exec]       22 | describe('The selected process statuses should', () => {
           [exec]       23 | 	test('Be empty when there is no initial key', () => {
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/process-metrics/filter/store/ProcessStatusStore.es.js:20:1)
           [exec] 
           [exec] FAIL test/components/process-metrics/filter/store/SLAStatusStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'SLAStatusStore.es.js'
           [exec] 
           [exec]       18 | } from '../../../../../src/main/resources/META-INF/resources/js/components/process-metrics/filter/store/SLAStatusStore.es';
           [exec]       19 | import {act, create} from 'react-test-renderer';
           [exec]     > 20 | import {renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       21 | 
           [exec]       22 | describe('The selected SLA statuses should', () => {
           [exec]       23 | 	test('Be empty when there is no initial key', () => {
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/process-metrics/filter/store/SLAStatusStore.es.js:20:1)
           [exec] 
           [exec] FAIL test/components/sla/store/SLAStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'SLAStore.es.js'
           [exec] 
           [exec]       10 |  */
           [exec]       11 | 
           [exec]     > 12 | import {act, renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       13 | import {
           [exec]       14 | 	START_NODE_KEYS,
           [exec]       15 | 	STOP_NODE_KEYS
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/sla/store/SLAStore.es.js:12:1)
           [exec] 
           [exec] FAIL test/components/sla/store/ErrorsStore.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module '@testing-library/react-hooks' from 'ErrorsStore.es.js'
           [exec] 
           [exec]       10 |  */
           [exec]       11 | 
           [exec]     > 12 | import {act, renderHook} from '@testing-library/react-hooks';
           [exec]          | ^
           [exec]       13 | import {useErrors} from '../../../../src/main/resources/META-INF/resources/js/components/sla/store/ErrorsStore.es';
           [exec]       14 | 
           [exec]       15 | test('Should test with error', () => {
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:230:17)
           [exec]       at Object.<anonymous> (test/components/sla/store/ErrorsStore.es.js:12:1)
      

        Attachments

          Activity

            People

            • Assignee:
              melody.wu Melody Wu
              Reporter:
              joshua.itagaki Joshua Itagaki
              Participants of an Issue:
              Recent user:
              Brian Wulbern
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 weeks ago

                Packages

                Version Package
                7.2.X
                Master