Skip to content

Commit

Permalink
fix(deps): update dependency eslint-plugin-jest to v27
Browse files Browse the repository at this point in the history
Signed-off-by: Renovate Bot <bot@renovateapp.com>
  • Loading branch information
renovate[bot] authored and freben committed Aug 30, 2022
1 parent 6f70113 commit 1fe6823
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
10 changes: 10 additions & 0 deletions .changeset/renovate-4f0c2e3.md
@@ -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).
2 changes: 1 addition & 1 deletion packages/cli/package.json
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/commands/test.ts
Expand Up @@ -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);
};
2 changes: 1 addition & 1 deletion packages/cli/src/lib/parallel.test.ts
Expand Up @@ -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`,
);
});
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -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"

Expand Down

0 comments on commit 1fe6823

Please sign in to comment.