From 56cef42c5928abd6066939d7d5d3eff0dca1e64c Mon Sep 17 00:00:00 2001 From: Romain Date: Wed, 23 Sep 2020 17:35:54 -0700 Subject: [PATCH] HUE-8888 [ci] Upgrade jsdom to avoid jest Cannot read property 'some' of undefined https://github.com/facebook/jest/issues/10489 --- .circleci/config.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a6d2d38701..7585cab643 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -159,6 +159,7 @@ jobs: # https://jestjs.io/docs/en/troubleshooting.html#tests-are-extremely-slow-on-docker-andor-continuous-integration-ci-server sed -i 's/"test": "jest"/"test": "jest --runInBand"/g' package.json + npm run test - store_artifacts: diff --git a/package.json b/package.json index 9f7c545929..13ffdb75c7 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "identity-obj-proxy": "^3.0.0", "jest": "26.0.1", "jest-environment-jsdom-sixteen": "1.0.3", - "jsdom": "16.2.2", + "jsdom": "16.4.0", "less-loader": "6.1.2", "lesshint": "6.3.7", "license-checker": "^25.0.1",