diff --git a/ui/jest.config.js b/ui/jest.config.js index 609d1f3db0a..02ec1f51422 100644 --- a/ui/jest.config.js +++ b/ui/jest.config.js @@ -29,7 +29,7 @@ module.exports = { moduleDirectories: ['node_modules'], reporters: ['default', 'jest-junit'], setupFilesAfterEnv: [ - '@testing-library/jest-dom/extend-expect', + '@testing-library/jest-dom', '/src/setup-jest-test-framework.js', ], testEnvironmentOptions: { diff --git a/ui/package.json b/ui/package.json index 73b871f2a21..60b89f245c3 100644 --- a/ui/package.json +++ b/ui/package.json @@ -73,7 +73,7 @@ "flatpickr": "4.6.13", "helmet": "6.0.0", "immer": "9.0.15", - "jest-when": "^3.5.1", + "jest-when": "^3.6.0", "js-cookie": "3.0.1", "lodash": "4.17.21", "lodash.clone": "4.5.0", @@ -108,11 +108,11 @@ "devDependencies": { "@babel/core": "7.23.9", "@emotion/babel-plugin": "11.11.0", - "@emotion/jest": "11.10.5", + "@emotion/jest": "11.11.0", "@sinonjs/referee": "9.1.1", - "@testing-library/jest-dom": "5.16.5", + "@testing-library/jest-dom": "6.4.2", "@testing-library/react": "13.4.0", - "@types/jest": "^29.4.0", + "@types/jest": "^29.5.12", "@wdio/cli": "8.0.13", "@wdio/local-runner": "8.0.13", "@wdio/mocha-framework": "8.0.13", @@ -125,10 +125,10 @@ "expect-webdriverio": "3.4.0", "follow-redirects": "1.15.4", "identity-obj-proxy": "3.0.0", - "jest": "29.0.3", + "jest": "29.7.0", "jest-emotion": "11.0.0", - "jest-environment-jsdom": "29.0.3", - "jest-junit": "14.0.1", + "jest-environment-jsdom": "29.7.0", + "jest-junit": "16.0.0", "jsdom": "20.0.0", "mutationobserver-shim": "0.3.7", "nanoid": "4.0.0",