Skip to content

Commit

Permalink
chore: bump jest from 26.4.2 to 26.6.3 (#3036)
Browse files Browse the repository at this point in the history
* chore: bump jest and its dependencies

* test: update test lint rules
  • Loading branch information
armano2 committed Feb 11, 2021
1 parent de29366 commit e4d737b
Show file tree
Hide file tree
Showing 4 changed files with 458 additions and 516 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,15 @@ module.exports = {
'jest/no-jasmine-globals': 'error',
'jest/no-jest-import': 'error',
'jest/no-test-prefixes': 'error',
'jest/no-test-callback': 'error',
'jest/no-done-callback': 'error',
'jest/no-test-return-statement': 'error',
'jest/prefer-to-be-null': 'warn',
'jest/prefer-to-be-undefined': 'warn',
'jest/prefer-to-contain': 'warn',
'jest/prefer-to-have-length': 'warn',
'jest/prefer-spy-on': 'error',
'jest/valid-expect': 'error',
'jest/no-deprecated-functions': 'error',
},
},
// plugin source files
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"@commitlint/config-lerna-scopes": "^11.0.0",
"@types/debug": "^4.1.5",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.10",
"@types/jest-specific-snapshot": "^0.5.4",
"@types/jest": "^26.0.20",
"@types/jest-specific-snapshot": "^0.5.5",
"@types/lodash": "^4.14.149",
"@types/node": "^14.6.2",
"@types/prettier": "^2.1.0",
Expand All @@ -91,11 +91,11 @@
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-eslint-plugin": "^2.3.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-jest": "^24.1.3",
"glob": "^7.1.6",
"husky": "^4.2.5",
"isomorphic-fetch": "^3.0.0",
"jest": "^26.4.2",
"jest": "^26.6.3",
"jest-specific-snapshot": "^4.0.0",
"lerna": "^3.22.1",
"lint-staged": "^10.2.13",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('ES6 iteration scope', () => {
expect(variables).toHaveLength(0);
expect(scope.references).toHaveLength(2);
expect(scope.references[0].identifier.name).toBe('console');
expect(scope.references[0].resolved).toBe(null);
expect(scope.references[0].resolved).toBeNull();
expect(scope.references[1].identifier.name).toBe('i');
expect(scope.references[1].resolved).toBe(iterVariables[0]);
});
Expand Down Expand Up @@ -112,7 +112,7 @@ describe('ES6 iteration scope', () => {
expect(variables).toHaveLength(0);
expect(scope.references).toHaveLength(2);
expect(scope.references[0].identifier.name).toBe('console');
expect(scope.references[0].resolved).toBe(null);
expect(scope.references[0].resolved).toBeNull();
expect(scope.references[1].identifier.name).toBe('i');
expect(scope.references[1].resolved).toBe(iterVariables[0]);
});
Expand Down

0 comments on commit e4d737b

Please sign in to comment.