From 8d4222ab1206dde386424fc0fe6d6321e0dfcfdc Mon Sep 17 00:00:00 2001 From: CJ Cenizal Date: Fri, 24 Mar 2017 14:06:13 -0700 Subject: [PATCH] Remove redundant kuiSubmitButton tests. --- .../__snapshots__/submit_button.test.js.snap | 31 ------------- .../components/button/submit_button.test.js | 46 ------------------- 2 files changed, 77 deletions(-) diff --git a/ui_framework/components/button/__snapshots__/submit_button.test.js.snap b/ui_framework/components/button/__snapshots__/submit_button.test.js.snap index 9290fe5be2141..2217b8383b5b3 100644 --- a/ui_framework/components/button/__snapshots__/submit_button.test.js.snap +++ b/ui_framework/components/button/__snapshots__/submit_button.test.js.snap @@ -17,37 +17,6 @@ exports[`KuiSubmitButton Baseline is rendered 1`] = ` /> `; -exports[`KuiSubmitButton HTML attributes aria-label is rendered 1`] = ` - -`; - -exports[`KuiSubmitButton HTML attributes className renders the classes 1`] = ` - -`; - -exports[`KuiSubmitButton HTML attributes data-test-subj is rendered 1`] = ` - -`; - -exports[`KuiSubmitButton HTML attributes disabled sets the disabled attribute and class 1`] = ` - -`; - exports[`KuiSubmitButton Props children is rendered as value 1`] = ` { }); }); - describe('HTML attributes', () => { - describe('aria-label', () => { - test('is rendered', () => { - const $button = render( - - ); - - expect($button) - .toMatchSnapshot(); - }); - }); - - describe('data-test-subj', () => { - test('is rendered', () => { - const $button = render( - - ); - - expect($button) - .toMatchSnapshot(); - }); - }); - - describe('disabled', () => { - test('sets the disabled attribute and class', () => { - const $button = render( - - ); - - expect($button) - .toMatchSnapshot(); - }); - }); - - describe('className', () => { - test('renders the classes', () => { - const $button = render( - - ); - - expect($button) - .toMatchSnapshot(); - }); - }); - }); - describe('Props', () => { describe('type', () => { describe('basic', () => {