import { pluginSanityCheck, mount, checkValidFoundation } from '../unit-test'
import plugin from './index.js';
import {mdcTextField} from './index.js';

pluginSanityCheck(__dirname, plugin)

describe ('mdcTextField', () => {
    const wrapper = mount(mdcTextField, {
        propsData: {
            helptext:"helptext"
        }
    })

    describe('bottomLineFoundation', () => {
        checkValidFoundation(wrapper.vm.bottomLineFoundation)
    })

    describe('helperTextFoundation', () => {
        checkValidFoundation(wrapper.vm.helperTextFoundation)
    })
})

@@ -281,16 +281,44 @@
 Data: %7B%0A
+            label: 'label',%0A
         
@@ -351,32 +351,137 @@
       %7D%0A    %7D)%0A%0A
+    describe('labelFoundation', () =%3E %7B%0A        checkValidFoundation(wrapper.vm.labelFoundation)%0A    %7D)%0A%0A
     describe('bo
@@ -696,8 +696,518 @@
   %7D)%0A%7D)%0A
+%0Adescribe ('mdcTextField', () =%3E %7B%0A    const wrapper = mount(mdcTextField, %7B%0A        propsData: %7B%0A            outline: true%0A        %7D%0A    %7D)%0A%0A    describe('outlineFoundation', () =%3E %7B%0A        checkValidFoundation(wrapper.vm.outlineFoundation)%0A    %7D)%0A%0A%7D)%0A%0Adescribe ('mdcTextField', () =%3E %7B%0A    const wrapper = mount(mdcTextField, %7B%0A        propsData: %7B%0A            trailingIcon: 'event'%0A        %7D%0A    %7D)%0A%0A    describe('iconFoundation', () =%3E %7B%0A        checkValidFoundation(wrapper.vm.iconFoundation)%0A    %7D)%0A%0A%7D)%0A

add new foundation classes sanity checks