Skip to content

Commit

Permalink
fix addon-actions story
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Jul 10, 2024
1 parent 76ef806 commit 82ac172
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/stories/Actions.stories.svelte
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<script context="module">
import { action } from '@storybook/addon-actions';
import { fn } from '@storybook/test';
import { defineMeta } from '@storybook/addon-svelte-csf';
import { expect, userEvent, within } from '@storybook/test';
const { Story } = defineMeta({
title: 'Addon/Actions',
args: {
onclick: action('I am logging in the actions tab'),
onclick: fn().mockName('onclick'),
},
parameters: {
controls: { disable: true },
interactions: { disable: true },
},
});
</script>
Expand Down

0 comments on commit 82ac172

Please sign in to comment.