From e10155dd2b5063a608dd643ac1ddfbd3290aea35 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sat, 17 Feb 2024 06:40:37 +1300 Subject: [PATCH] test: don't use hardcoded version --- src/__tests__/__snapshots__/rules.test.ts.snap | 8 ++++---- src/__tests__/rules.test.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/__tests__/__snapshots__/rules.test.ts.snap b/src/__tests__/__snapshots__/rules.test.ts.snap index 9bd68055d..3044c709a 100644 --- a/src/__tests__/__snapshots__/rules.test.ts.snap +++ b/src/__tests__/__snapshots__/rules.test.ts.snap @@ -86,7 +86,7 @@ exports[`rules should export configs that refer to actual rules 1`] = ` "jest": ObjectContaining { "meta": { "name": "eslint-plugin-jest", - "version": "27.8.0", + "version": Any, }, }, }, @@ -167,7 +167,7 @@ exports[`rules should export configs that refer to actual rules 1`] = ` "jest": ObjectContaining { "meta": { "name": "eslint-plugin-jest", - "version": "27.8.0", + "version": Any, }, }, }, @@ -201,7 +201,7 @@ exports[`rules should export configs that refer to actual rules 1`] = ` "jest": ObjectContaining { "meta": { "name": "eslint-plugin-jest", - "version": "27.8.0", + "version": Any, }, }, }, @@ -229,7 +229,7 @@ exports[`rules should export configs that refer to actual rules 1`] = ` "jest": ObjectContaining { "meta": { "name": "eslint-plugin-jest", - "version": "27.8.0", + "version": Any, }, }, }, diff --git a/src/__tests__/rules.test.ts b/src/__tests__/rules.test.ts index bdc589b0d..59a6e3beb 100644 --- a/src/__tests__/rules.test.ts +++ b/src/__tests__/rules.test.ts @@ -51,7 +51,7 @@ describe('rules', () => { const expectJestPlugin = expect.objectContaining({ meta: { name: 'eslint-plugin-jest', - version: '27.8.0', + version: expect.any(String), }, });