From 5b020f32572ed856ef794d1ab63b57a14f665f99 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 May 2021 10:16:51 -0700 Subject: [PATCH] Bump jest from 26.6.3 to 27.0.3 (#352) * Bump jest from 26.6.3 to 27.0.3 Bumps [jest](https://github.com/facebook/jest) from 26.6.3 to 27.0.3. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/compare/v26.6.3...v27.0.3) Signed-off-by: dependabot[bot] * Use jsdom test env Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Glen Cheney --- jest.config.js | 17 +++++------------ package.json | 2 +- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/jest.config.js b/jest.config.js index d27210d..1d8f049 100644 --- a/jest.config.js +++ b/jest.config.js @@ -6,21 +6,14 @@ module.exports = { coverageDirectory: 'coverage', // An array of regexp pattern strings used to skip coverage collection - coveragePathIgnorePatterns: [ - '/node_modules/', - '/test/', - ], + coveragePathIgnorePatterns: ['/node_modules/', '/test/'], // A list of reporter names that Jest uses when writing coverage reports - coverageReporters: [ - 'text', - 'lcov', - ], + coverageReporters: ['text', 'lcov'], // An array of regexp pattern strings that are matched against all test paths, // matched tests are skipped - testPathIgnorePatterns: [ - '/gulp/', - '/node_modules/', - ], + testPathIgnorePatterns: ['/gulp/', '/node_modules/'], + + testEnvironment: 'jsdom', }; diff --git a/package.json b/package.json index 522459a..5eb6728 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "gulp-postcss": "^9.0.0", "gulp-sass": "^4.0.0", "gulp-shell": "^0.8.0", - "jest": "^26.1.0", + "jest": "^27.0.3", "postcss": "^8.2.8", "rollup": "^2.2.0", "rollup-plugin-terser": "^7.0.0",