mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 00:32:06 +08:00
Fix stories
This commit is contained in:
parent
8708aa6494
commit
4c73968f8a
@ -24,7 +24,7 @@ export const Validation = {
|
||||
};
|
||||
|
||||
export const Type = {
|
||||
play: async ({ canvasElement }) => {
|
||||
play: async ({ canvasElement, userEvent }) => {
|
||||
const canvas = within(canvasElement);
|
||||
await userEvent.type(canvas.getByTestId('value'), 'foobar');
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user