import globalThis from 'global';
import { expect } from '@storybook/jest';
import type { PlayFunctionContext } from '@storybook/types';

export default {
  component: globalThis.Components.Pre,
  title: 'lib/store/manual title',
  args: { text: 'No content' },
};

export const Default = {
  play: async ({ title }: PlayFunctionContext) => {
    await expect(title).toBe('lib/store/manual title');
  },
};
