diff --git a/canvas_modules/common-canvas/package.json b/canvas_modules/common-canvas/package.json index dcda6038f..f8255d57a 100644 --- a/canvas_modules/common-canvas/package.json +++ b/canvas_modules/common-canvas/package.json @@ -88,8 +88,9 @@ "grunt-jsonlint": "2.1.3", "grunt-postcss": "0.9.0", "grunt-yamllint": "0.3.0", - "jest": "26.4.2", + "jest": "29.7.0", "jest-fetch-mock": "3.0.3", + "jest-fixed-jsdom": "0.0.9", "jest-localstorage-mock": "2.4.3", "react": "18.2.0", "react-dom": "18.2.0", @@ -113,8 +114,8 @@ "react-intl": "^5.0.0 || ^6.0.0" }, "jest": { + "testEnvironment": "jest-fixed-jsdom", "transformIgnorePatterns": [ - "node_modules/(?!(@codemirror/legacy-modes|d3-*))" ], "moduleFileExtensions": [ "js",