```js // Button.test.js import Button from './Button.svelte'; import { render } from '@testing-library/svelte'; import { Primary } from './Button.stories'; //👈 Our story imported here test('renders the button in the primary state', () => { //👇 Story's args used with our test const { container } = render(Button, { props: Primary.args, }); expect(container.firstChild.children[0].classList.contains('storybook-button--primary')).toBe(true); }); ```