From 590afb81670bf6ff2b4f8ff283bd9a15c7b63d4f Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2019 12:38:20 +0000 Subject: [PATCH] Bump eslint-plugin-jest from 22.21.0 to 23.0.2 Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.21.0 to 23.0.2. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v22.21.0...v23.0.2) Signed-off-by: dependabot-preview[bot] See: https://github.com/jest-community/eslint-plugin-jest/issues/470 adeira-source-id: e69d3c0763df845bd26f4b960be8461ed5c2c8e5 --- __tests__/__snapshots__/index.test.js.snap | 10 ++-------- ourRules.js | 5 ++--- package.json | 2 +- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/__tests__/__snapshots__/index.test.js.snap b/__tests__/__snapshots__/index.test.js.snap index 23a296a..16b8e48 100644 --- a/__tests__/__snapshots__/index.test.js.snap +++ b/__tests__/__snapshots__/index.test.js.snap @@ -265,7 +265,6 @@ Object { "jest/no-commented-out-tests": 0, "jest/no-disabled-tests": 2, "jest/no-duplicate-hooks": 2, - "jest/no-empty-title": 2, "jest/no-expect-resolves": 0, "jest/no-export": 2, "jest/no-focused-tests": 2, @@ -293,12 +292,12 @@ Object { "jest/prefer-to-contain": 2, "jest/prefer-to-have-length": 2, "jest/prefer-todo": 2, + "jest/require-to-throw-message": 0, "jest/require-top-level-describe": 0, - "jest/require-tothrow-message": 0, "jest/valid-describe": 2, "jest/valid-expect": 2, "jest/valid-expect-in-promise": 2, - "jest/valid-title": 1, + "jest/valid-title": 0, "jsx-a11y/accessible-emoji": 2, "jsx-a11y/alt-text": 2, "jsx-a11y/anchor-has-content": 0, @@ -914,11 +913,6 @@ Snapshot Diff: - "jest/prefer-hooks-on-top": 1, + "jest/prefer-hooks-on-top": 2, "jest/prefer-inline-snapshots": 0, -@@ --- --- @@ - "jest/valid-expect-in-promise": 2, -- "jest/valid-title": 1, -+ "jest/valid-title": 2, - "jsx-a11y/accessible-emoji": 2, @@ --- --- @@ "no-implied-eval": 2, - "no-import-assign": 1, diff --git a/ourRules.js b/ourRules.js index b3d3ced..823faad 100644 --- a/ourRules.js +++ b/ourRules.js @@ -287,7 +287,6 @@ module.exports = { 'jest/no-commented-out-tests': OFF, 'jest/no-disabled-tests': ERROR, 'jest/no-duplicate-hooks': ERROR, - 'jest/no-empty-title': ERROR, 'jest/no-expect-resolves': OFF, 'jest/no-export': ERROR, 'jest/no-focused-tests': ERROR, @@ -316,11 +315,11 @@ module.exports = { 'jest/prefer-to-have-length': ERROR, 'jest/prefer-todo': ERROR, 'jest/require-top-level-describe': OFF, - 'jest/require-tothrow-message': OFF, + 'jest/require-to-throw-message': OFF, 'jest/valid-describe': ERROR, 'jest/valid-expect': ERROR, 'jest/valid-expect-in-promise': ERROR, - 'jest/valid-title': NEXT_VERSION_ERROR, + 'jest/valid-title': OFF, // See: https://github.com/jest-community/eslint-plugin-jest/issues/470 // prefer-object-spread (https://github.com/bryanrsmith/eslint-plugin-prefer-object-spread) 'prefer-object-spread/prefer-object-spread': WARN, diff --git a/package.json b/package.json index 5a7db65..82dc746 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "eslint-plugin-eslint-comments": "^3.1.2", "eslint-plugin-flowtype": "^4.3.0", "eslint-plugin-import": "^2.18.2", - "eslint-plugin-jest": "^22.20.0", + "eslint-plugin-jest": "^23.0.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-adeira-incubator": "^0.1.0", "eslint-plugin-monorepo": "^0.2.1",