UNPKG

@muvehealth/fixins

Version:

Component library for Muvehealth

17 lines (14 loc) 478 B
/* eslint-disable function-paren-newline, comma-dangle */ import React from 'react' import renderWithTheme from '../../testHelper' import Textarea from '../Textarea' describe('Textarea', () => { it('renders a Textarea Input', () => { const tree = renderWithTheme(<Textarea />) expect(tree).toMatchSnapshot() }) it('renders a Textarea Input with no label', () => { const tree = renderWithTheme(<Textarea noLabel />) expect(tree).toMatchSnapshot() }) })