Skip to content

Commit 0d94466

Browse files
esarafianousnyk-botKshitij-Katiyar
authored
[Snyk] Security upgrade jest from 26.4.2 to 27.0.2 (#536)
* fix: webapp/package.json & webapp/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230 - https://snyk.io/vuln/SNYK-JS-BRACES-6838727 - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116 - https://snyk.io/vuln/SNYK-JS-MICROMATCH-6838728 - https://snyk.io/vuln/SNYK-JS-UNSETVALUE-2400660 * added jest test environment --------- Co-authored-by: snyk-bot <snyk-bot@snyk.io> Co-authored-by: kshitij katiyar <kshitij.katiyar@brightscout.com>
1 parent 105215e commit 0d94466

File tree

3 files changed

+20744
-1848
lines changed

3 files changed

+20744
-1848
lines changed

webapp/jest.config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"^.+\\.(css|less|scss)$": "identity-obj-proxy",
88
"^.*i18n.*\\.(json)$": "<rootDir>/tests/i18n_mock.json",
99
"^bundle-loader\\?lazy\\!(.*)$": "$1"
10-
}
10+
},
11+
"testEnvironment": "jsdom"
1112
}

0 commit comments

Comments
 (0)