Skip to content

Commit 4c7683c

Browse files
authored
test: don't use hardcoded version (#1507)
1 parent d75ba30 commit 4c7683c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/__tests__/__snapshots__/rules.test.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ exports[`rules should export configs that refer to actual rules 1`] = `
8686
"jest": ObjectContaining {
8787
"meta": {
8888
"name": "eslint-plugin-jest",
89-
"version": "27.8.0",
89+
"version": Any<String>,
9090
},
9191
},
9292
},
@@ -167,7 +167,7 @@ exports[`rules should export configs that refer to actual rules 1`] = `
167167
"jest": ObjectContaining {
168168
"meta": {
169169
"name": "eslint-plugin-jest",
170-
"version": "27.8.0",
170+
"version": Any<String>,
171171
},
172172
},
173173
},
@@ -201,7 +201,7 @@ exports[`rules should export configs that refer to actual rules 1`] = `
201201
"jest": ObjectContaining {
202202
"meta": {
203203
"name": "eslint-plugin-jest",
204-
"version": "27.8.0",
204+
"version": Any<String>,
205205
},
206206
},
207207
},
@@ -229,7 +229,7 @@ exports[`rules should export configs that refer to actual rules 1`] = `
229229
"jest": ObjectContaining {
230230
"meta": {
231231
"name": "eslint-plugin-jest",
232-
"version": "27.8.0",
232+
"version": Any<String>,
233233
},
234234
},
235235
},

src/__tests__/rules.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe('rules', () => {
5151
const expectJestPlugin = expect.objectContaining({
5252
meta: {
5353
name: 'eslint-plugin-jest',
54-
version: '27.8.0',
54+
version: expect.any(String),
5555
},
5656
});
5757

0 commit comments

Comments
 (0)