chore: add typed ESLint checks #18
Refs WealthLedger/main#18. Keep Biome; add no Prettier dependencies.
This commit is contained in:
@@ -38,7 +38,7 @@ export const Primary: Story = {
|
||||
name: "Основное действие",
|
||||
play: async ({ canvasElement, args }) => {
|
||||
const button = within(canvasElement).getByRole("button", {
|
||||
name: String(args.children),
|
||||
name: typeof args.children === "string" ? args.children : undefined,
|
||||
});
|
||||
button.focus();
|
||||
await expect(button).toHaveFocus();
|
||||
|
||||
Reference in New Issue
Block a user