diff --git a/packages/components/label/src/stories/Label.stories.ts b/packages/components/label/src/stories/Label.stories.ts index 6dccfe114..ac013398f 100644 --- a/packages/components/label/src/stories/Label.stories.ts +++ b/packages/components/label/src/stories/Label.stories.ts @@ -49,18 +49,3 @@ export const WithControl: Story = { `, }), } - -export const Control: Story = { - args: { - template: 'Control', - }, - render: (args: any) => ({ - components: { OkuLabel }, - setup() { - return { args } - }, - template: ` - - `, - }), -} diff --git a/packages/components/label/src/stories/LabelDemo.vue b/packages/components/label/src/stories/LabelDemo.vue index 2de29e47e..0a711b994 100644 --- a/packages/components/label/src/stories/LabelDemo.vue +++ b/packages/components/label/src/stories/LabelDemo.vue @@ -6,7 +6,7 @@ import Control from './Control.vue' withDefaults(defineProps(), {}) export interface ILabelProps { - template?: 'Styled' | 'WithControl' | 'Control' + template?: 'Styled' | 'WithControl' allshow?: boolean } @@ -20,10 +20,6 @@ export interface ILabelProps { - - diff --git a/packages/components/label/tests/__snapshots__/label.test.ts.snap b/packages/components/label/tests/__snapshots__/label.test.ts.snap index 6f3a7477b..7a6681e33 100644 --- a/packages/components/label/tests/__snapshots__/label.test.ts.snap +++ b/packages/components/label/tests/__snapshots__/label.test.ts.snap @@ -1,7 +1,5 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`okuLabel Stories > control > should render correctly 1`] = `""`; - exports[`okuLabel Stories > styled > should render correctly 1`] = `""`; exports[`okuLabel Stories > withControl > should render correctly 1`] = ` diff --git a/packages/components/label/tests/label.test.ts b/packages/components/label/tests/label.test.ts index cc8121bc4..dc7c0a707 100644 --- a/packages/components/label/tests/label.test.ts +++ b/packages/components/label/tests/label.test.ts @@ -7,7 +7,6 @@ import { OkuLabel } from '../src' import Styled from '../src/stories/Styled.vue' import WithControl from '../src/stories/WithControl.vue' -import Control from '../src/stories/Control.vue' enableAutoUnmount(afterEach) @@ -74,25 +73,4 @@ describe('okuLabel Stories', () => { expect(wrapper.html()).toMatchSnapshot() }) }) - - describe('control', () => { - let wrapper: VueWrapper> - - beforeEach(async () => { - wrapper = shallowMount(Control, { - attachTo: document.body, - }) - }) - - /** - * @vitest-environment jsdom - */ - it('should have no accessibility violations', async () => { - expect(await axe(wrapper.element)).toHaveNoViolations() - }) - - it('should render correctly', () => { - expect(wrapper.html()).toMatchSnapshot() - }) - }) })