Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
  • Loading branch information
freben committed Aug 29, 2022
1 parent b590f39 commit 008596c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .changeset/renovate-4f0c2e3.md
@@ -1,5 +1,10 @@
---
'@backstage/cli': patch
'@backstage/cli': minor
---

Updated dependency `eslint-plugin-jest` to `^27.0.0`.

Note that this major update to 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 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

0 comments on commit 008596c

Please sign in to comment.