[WIP] Migrate from Jest framework to vitest #583
Annotations
3 errors and 20 warnings
tests (16.x)
Process completed with exit code 1.
|
tests (18.x)
The job was canceled because "_16_x" failed.
|
tests (18.x)
The operation was canceled.
|
tests (16.x):
src/App.js#L17
React Hook useEffect has missing dependencies: 'hideGlobalFilter' and 'updateDocumentTitle'. Either include them or remove the dependency array
|
tests (16.x):
src/Components/CreateImageWizard/formComponents/AWSSourcesSelect.js#L58
React Hook useEffect has missing dependencies: 'change' and 'sourceDetails?.aws?.account_id'. Either include them or remove the dependency array
|
tests (16.x):
src/Components/CreateImageWizard/formComponents/ActivationKeys.js#L94
React Hook useEffect has missing dependencies: 'change' and 'isProd'. Either include them or remove the dependency array
|
tests (16.x):
src/Components/CreateImageWizard/formComponents/AzureSourcesSelect.js#L52
React Hook useEffect has missing dependencies: 'change', 'sourceDetails?.azure?.subscription_id', and 'sourceDetails?.azure?.tenant_id'. Either include them or remove the dependency array
|
tests (16.x):
src/Components/CreateImageWizard/formComponents/FileSystemConfigButtons.js#L20
React Hook useEffect contains a call to 'setHasErrors'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [getState, change] as a second argument to the useEffect Hook
|
tests (16.x):
src/Components/CreateImageWizard/formComponents/FileSystemConfiguration.js#L103
React Hook useEffect has missing dependencies: 'change', 'hasCustomizations', and 'rows'. Either include them or remove the dependency array
|
tests (16.x):
src/Components/CreateImageWizard/formComponents/FileSystemConfiguration.js#L126
React Hook useEffect has a missing dependency: 'getState'. Either include it or remove the dependency array
|
tests (16.x):
src/Components/CreateImageWizard/formComponents/FileSystemConfiguration.js#L147
React Hook useEffect has missing dependencies: 'change' and 'input.name'. Either include them or remove the dependency array
|
tests (16.x):
src/Components/CreateImageWizard/formComponents/MountPoint.js#L39
React Hook useEffect has a missing dependency: 'props.mountpoint'. Either include it or remove the dependency array. If 'setSuffix' needs the current value of 'props.mountpoint', you can also switch to useReducer instead of useState and read 'props.mountpoint' in the reducer
|
tests (16.x):
src/Components/CreateImageWizard/formComponents/MountPoint.js#L53
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
tests (18.x):
src/App.js#L17
React Hook useEffect has missing dependencies: 'hideGlobalFilter' and 'updateDocumentTitle'. Either include them or remove the dependency array
|
tests (18.x):
src/Components/CreateImageWizard/formComponents/AWSSourcesSelect.js#L58
React Hook useEffect has missing dependencies: 'change' and 'sourceDetails?.aws?.account_id'. Either include them or remove the dependency array
|
tests (18.x):
src/Components/CreateImageWizard/formComponents/ActivationKeys.js#L94
React Hook useEffect has missing dependencies: 'change' and 'isProd'. Either include them or remove the dependency array
|
tests (18.x):
src/Components/CreateImageWizard/formComponents/AzureSourcesSelect.js#L52
React Hook useEffect has missing dependencies: 'change', 'sourceDetails?.azure?.subscription_id', and 'sourceDetails?.azure?.tenant_id'. Either include them or remove the dependency array
|
tests (18.x):
src/Components/CreateImageWizard/formComponents/FileSystemConfigButtons.js#L20
React Hook useEffect contains a call to 'setHasErrors'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [getState, change] as a second argument to the useEffect Hook
|
tests (18.x):
src/Components/CreateImageWizard/formComponents/FileSystemConfiguration.js#L103
React Hook useEffect has missing dependencies: 'change', 'hasCustomizations', and 'rows'. Either include them or remove the dependency array
|
tests (18.x):
src/Components/CreateImageWizard/formComponents/FileSystemConfiguration.js#L126
React Hook useEffect has a missing dependency: 'getState'. Either include it or remove the dependency array
|
tests (18.x):
src/Components/CreateImageWizard/formComponents/FileSystemConfiguration.js#L147
React Hook useEffect has missing dependencies: 'change' and 'input.name'. Either include them or remove the dependency array
|
tests (18.x):
src/Components/CreateImageWizard/formComponents/MountPoint.js#L39
React Hook useEffect has a missing dependency: 'props.mountpoint'. Either include it or remove the dependency array. If 'setSuffix' needs the current value of 'props.mountpoint', you can also switch to useReducer instead of useState and read 'props.mountpoint' in the reducer
|
tests (18.x):
src/Components/CreateImageWizard/formComponents/MountPoint.js#L53
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|