fix(deps): update dependency eslint-plugin-jest to v27

Signed-off-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
renovate[bot]
2022-08-28 13:12:59 +00:00
committed by Fredrik Adelöw
parent 6f70113b57
commit 1fe6823bb5
5 changed files with 16 additions and 7 deletions
+10
View File
@@ -0,0 +1,10 @@
---
'@backstage/cli': minor
---
Updated dependency `eslint-plugin-jest` to `^27.0.0`.
Note that this major update to the Jest plugin contains some breaking changes.
This means that some of your tests may start seeing some new lint errors. [Read
about them
here](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md#2700-2022-08-28).
+1 -1
View File
@@ -75,7 +75,7 @@
"eslint-formatter-friendly": "^7.0.0",
"eslint-plugin-deprecation": "^1.3.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.2",
"eslint-plugin-jest": "^27.0.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-monorepo": "^0.3.2",
"eslint-plugin-react": "^7.28.0",
-1
View File
@@ -82,6 +82,5 @@ export default async (_opts: OptionValues, cmd: Command) => {
(process.stdout as any)._handle.setBlocking(true);
}
// eslint-disable-next-line jest/no-jest-import
await require('jest').run(args);
};
+1 -1
View File
@@ -43,7 +43,7 @@ describe('parseParallelismOption', () => {
});
it.each([['on'], [2.5], ['2.5']])('throws error for %p', value => {
expect(() => parseParallelismOption(value as any)).toThrowError(
expect(() => parseParallelismOption(value as any)).toThrow(
`Parallel option value '${value}' is not a boolean or integer`,
);
});
+4 -4
View File
@@ -13144,10 +13144,10 @@ eslint-plugin-import@^2.25.4:
resolve "^1.22.0"
tsconfig-paths "^3.14.1"
eslint-plugin-jest@^26.1.2:
version "26.9.0"
resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-26.9.0.tgz#7931c31000b1c19e57dbfb71bbf71b817d1bf949"
integrity sha512-TWJxWGp1J628gxh2KhaH1H1paEdgE2J61BBF1I59c6xWeL5+D1BzMxGDN/nXAfX+aSkR5u80K+XhskK6Gwq9ng==
eslint-plugin-jest@^27.0.0:
version "27.0.1"
resolved "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.0.1.tgz#3e67ee2051411540988c62075e8788702a1064da"
integrity sha512-LosUsrkwVSs/8Z/I8Hqn5vWgTEsHrfIquDEKOsV8/cl+gbFR4tiRCE1AimEotsHjSC0Rx1tYm6vPhw8C3ktmmg==
dependencies:
"@typescript-eslint/utils" "^5.10.0"