Skip to content
Snippets Groups Projects
FunkwhaleButton.test.ts 247 B
Newer Older
  • Learn to ignore specific revisions
  • Georg Krause's avatar
    Georg Krause committed
    import {render} from '@testing-library/vue'
    import FunkwhaleButton from './FunkwhaleButton.vue'
    
    test('it should work', () => {
    	const {getByText} = render(FunkwhaleButton, {
    		props: {
    			text: 'Button Test'
    		}
    	})
    
    	getByText('Button Test')
    })