Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): remove unused enzyme deps and fix deps incompatibility #1141

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ module.exports = {
// The test environment that will be used for testing.
testEnvironment: "jsdom",

// A list of paths to snapshot serializer modules Jest should use for snapshot testing
snapshotSerializers: ['enzyme-to-json/serializer'],

// The glob patterns Jest uses to detect test files
testMatch: [
"<rootDir>/src/test/**/*.test.(ts|tsx)"
Expand Down
18 changes: 7 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"build:bundle-profile": "webpack --config webpack.prod.js --profile --json > stats.json",
"build:bundle-analyze": "webpack-bundle-analyzer ./stats.json dist",
"build:bundle-profile-analyze": "concurrently -c 'auto' 'yarn:build:bundle-*'",
"yarn:install": "yarn install",
"yarn:frzinstall": "yarn install --immutable",
"type-check": "tsc --noEmit"
},
Expand All @@ -41,45 +40,38 @@
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/enzyme": "^3.10.12",
"@types/jest": "^27.0.2",
"@types/js-base64": "3.3.1",
"@types/react-test-renderer": "^18.0.0",
"@types/react-test-renderer": "^17.0.7",
"@types/selenium-webdriver": "^4.1.15",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"concurrently": "^8.2.1",
"css-loader": "^6.7.3",
"css-minimizer-webpack-plugin": "^4.2.2",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.34.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^2.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-webpack-plugin": "^4.0.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^7.3.0",
"html-webpack-plugin": "^5.5.0",
"imagemin": "^8.0.1",
"jest": "^27.2.4",
"js-base64": "3.7.5",
"license-check-and-add": "^4.0.5",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.7.1",
"miragejs": "^0.1.47",
"mock-socket": "^9.2.1",
"nanoid": "^3.3.4",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
"prop-types": "^15.7.2",
"raw-loader": "^4.0.2",
"react-router-dom": "^5.3.4",
"react-test-renderer": "^17.0.2",
"regenerator-runtime": "^0.13.11",
"rimraf": "^4.1.2",
"rxjs": "^7.8.0",
"selenium-webdriver": "^4.10.0",
"style-loader": "^3.3.1",
"svg-url-loader": "^8.0.0",
Expand Down Expand Up @@ -114,11 +106,15 @@
"i18next": "^22.4.10",
"i18next-browser-languagedetector": "^7.0.1",
"i18next-parser": "^7.7.0",
"js-base64": "3.7.5",
"lodash": "^4.17.21",
"nanoid": "^3.3.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^12.3.1",
"react-joyride": "^2.5.3",
"react-redux": "^8.0.5",
"rxjs": "^7.8.0",
"semver": "^7.5.4",
"showdown": "^2.1.0"
},
Expand Down
2 changes: 0 additions & 2 deletions src/app/SecurityPanel/Credentials/StoreCredentials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import {
DropdownToggleCheckbox,
EmptyState,
EmptyStateIcon,
Icon,
Popover,
Text,
TextContent,
Expand All @@ -41,7 +40,6 @@ import {
Toolbar,
ToolbarContent,
ToolbarItem,
Tooltip,
} from '@patternfly/react-core';
import { OutlinedQuestionCircleIcon, SearchIcon } from '@patternfly/react-icons';
import { ExpandableRowContent, TableComposable, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table';
Expand Down
2 changes: 1 addition & 1 deletion src/app/SecurityPanel/ImportCertificate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

import { JmxSslDescription } from '@app/Shared/Components/JmxSslDescription';
import { Button, Icon, Popover, Text, TextContent, TextVariants, Tooltip } from '@patternfly/react-core';
import { Button, Popover, Text, TextContent, TextVariants } from '@patternfly/react-core';
import { OutlinedQuestionCircleIcon } from '@patternfly/react-icons';
import * as React from 'react';
import { CertificateUploadModal } from './CertificateUploadModal';
Expand Down
Loading
Loading