Skip to content

Commit

Permalink
Disallow name prop in Scenario since taken from record.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail committed Aug 13, 2024
1 parent f42e624 commit 9895edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-runner/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export type SomeCase<
export type Scenario<
Options extends readonly unknown[],
MessageId extends string,
> = SomeCase<Options, MessageId> & { setup?: () => void };
> = SomeCase<Options, MessageId> & { name?: never; setup?: () => void };

0 comments on commit 9895edf

Please sign in to comment.