Skip to content

Commit ea38ecd

Browse files
chore(deps): bump eslint-plugin-jest from 24.4.0 to 26.1.1
1 parent adb1288 commit ea38ecd

6 files changed

Lines changed: 200 additions & 17 deletions

File tree

.eslintrc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ overrides:
1313
- files:
1414
- test/fixtures/**
1515
rules:
16+
jest/require-hook: off
1617
unicorn/filename-case: off
1718
- files:
1819
- test/**.spec.ts

package-lock.json

Lines changed: 195 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"eslint-plugin-eslint-comments": "^3.2.0",
1414
"eslint-plugin-functional": "^3.7.2",
1515
"eslint-plugin-import": "^2.25.4",
16-
"eslint-plugin-jest": "^24.4.0",
16+
"eslint-plugin-jest": "^26.1.1",
1717
"eslint-plugin-simple-import-sort": "^7.0.0",
1818
"eslint-plugin-sort-keys-fix": "^1.1.2",
1919
"eslint-plugin-unicorn": "^39.0.0",

rules/jest.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ module.exports = {
1111
'jest/no-conditional-expect': 'off',
1212
'jest/require-top-level-describe': 'off',
1313
'jest/prefer-called-with': 'off',
14-
'jest/prefer-inline-snapshots': 'off',
1514
'jest/prefer-expect-assertions': 'error',
1615
'jest/unbound-method': ['error', { ignoreStatic: true }],
1716
'jest/valid-title': ['error', { disallowedWords: ['should'] }],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
it('my second test', (): void => {
2-
expect(1).toStrictEqual('foo');
2+
expect(1).toBe('foo');
33
});
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
it('my test', (): void => {
22
expect.assertions(1);
3-
expect(1).toStrictEqual('foo');
3+
expect(1).toBe('foo');
44
});
55

66
it('my test 2', (): void => {
77
expect.hasAssertions();
8-
expect(1).toStrictEqual('foo');
8+
expect(1).toBe('foo');
99
});

0 commit comments

Comments
 (0)