Skip to content

Commit

Permalink
test: don't use hardcoded version (#1507)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Feb 16, 2024
1 parent d75ba30 commit 4c7683c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/__tests__/__snapshots__/rules.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
},
},
},
Expand Down Expand Up @@ -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<String>,
},
},
},
Expand Down Expand Up @@ -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<String>,
},
},
},
Expand Down Expand Up @@ -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<String>,
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/rules.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('rules', () => {
const expectJestPlugin = expect.objectContaining({
meta: {
name: 'eslint-plugin-jest',
version: '27.8.0',
version: expect.any(String),
},
});

Expand Down

0 comments on commit 4c7683c

Please sign in to comment.