We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aa51d7 commit 89778deCopy full SHA for 89778de
1 file changed
src/hooks/useLocalStorage/useLocalStorage.stories.tsx
@@ -52,7 +52,7 @@ type Story = StoryObj;
52
export const Default: Story = {
53
play: async ({ canvas }) => {
54
const [currentValue, newValueInput] = canvas.getAllByRole("textbox");
55
- await expect(currentValue).toHaveValue("initial");
+ await expect(currentValue).toHaveValue("null");
56
57
await userEvent.clear(newValueInput);
58
await userEvent.type(newValueInput, "saved-value");
@@ -62,6 +62,6 @@ export const Default: Story = {
62
await expect(currentValue).toHaveValue("saved-value");
63
64
await userEvent.click(removeButton);
65
66
},
67
};
0 commit comments