Skip to content

Commit

Permalink
rm redundant explicit types for RuleTester.it.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail committed Aug 14, 2024
1 parent 2369774 commit ffa02c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-runner/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class Runner<
) {
RuleTester.afterAll = afterAll;
RuleTester.describe = describe;
RuleTester.it = (...[name, ...rest]: Parameters<typeof it>) => {
RuleTester.it = (name, ...rest) => {
const { setup } = scenarios[name];
setup?.();
it(name, ...rest);
Expand Down

0 comments on commit ffa02c2

Please sign in to comment.