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
+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`,
);
});