@muvehealth/fixins
Version:
Component library for Muvehealth
205 lines (164 loc) • 5.41 kB
Flow
import React from 'react'
import Icons from '../Icons'
describe('Icons', () => {
it('renders a Beats Icon', () => {
const tree = render(<Icons type="Beats" />)
expect(tree).toMatchSnapshot()
})
it('renders a Bed Icon', () => {
const tree = render(<Icons type="Bed" />)
expect(tree).toMatchSnapshot()
})
it('renders a Chart Icon', () => {
const tree = render(<Icons type="Chart" />)
expect(tree).toMatchSnapshot()
})
it('renders a Chart Complete Icon', () => {
const tree = render(<Icons type="ChartComplete" />)
expect(tree).toMatchSnapshot()
})
it('renders a Chart InProgress Icon', () => {
const tree = render(<Icons type="ChartInProgress" />)
expect(tree).toMatchSnapshot()
})
it('renders a Chart Tabs Icon', () => {
const tree = render(<Icons type="ChartTabs" />)
expect(tree).toMatchSnapshot()
})
it('renders a Chat Bubbles Icon', () => {
const tree = render(<Icons type="ChatBubbles" />)
expect(tree).toMatchSnapshot()
})
it('renders a Circle Bang Icon', () => {
const tree = render(<Icons type="CircleBang" />)
expect(tree).toMatchSnapshot()
})
it('renders a Circle Check Icon', () => {
const tree = render(<Icons type="CircleCheck" />)
expect(tree).toMatchSnapshot()
})
it('renders a Circle Plus Icon', () => {
const tree = render(<Icons type="CirclePlus" />)
expect(tree).toMatchSnapshot()
})
it('renders a Circle X Icon', () => {
const tree = render(<Icons type="CircleX" />)
expect(tree).toMatchSnapshot()
})
it('renders a Complete Chart Icon', () => {
const tree = render(<Icons type="CompleteChart" />)
expect(tree).toMatchSnapshot()
})
it('renders a Down Arrow Icon', () => {
const tree = render(<Icons type="DownArrow" />)
expect(tree).toMatchSnapshot()
})
it('renders an open Down Arrow Icon', () => {
const tree = render(<Icons isOpen type="DownArrow" />)
expect(tree).toMatchSnapshot()
})
it('renders a Face Happy Icon', () => {
const tree = render(<Icons type="FaceHappy" />)
expect(tree).toMatchSnapshot()
})
it('renders a Face Meh Icon', () => {
const tree = render(<Icons type="FaceMeh" />)
expect(tree).toMatchSnapshot()
})
it('renders a Face Sad Icon', () => {
const tree = render(<Icons type="FaceSad" />)
expect(tree).toMatchSnapshot()
})
it('renders a Floppy Disk Icon', () => {
const tree = render(<Icons type="FloppyDisk" />)
expect(tree).toMatchSnapshot()
})
it('renders a Footsteps Icon', () => {
const tree = render(<Icons type="Footsteps" />)
expect(tree).toMatchSnapshot()
})
it('renders a In Progress Icon', () => {
const tree = render(<Icons type="InProgress" />)
expect(tree).toMatchSnapshot()
})
it('renders a IV Icon', () => {
const tree = render(<Icons type="IV" />)
expect(tree).toMatchSnapshot()
})
it('renders a Line Icon', () => {
const tree = render(<Icons type="Line" />)
expect(tree).toMatchSnapshot()
})
it('renders a MagGlass Icon', () => {
const tree = render(<Icons type="MagGlass" />)
expect(tree).toMatchSnapshot()
})
it('renders a Multi Form Icon', () => {
const tree = render(<Icons type="MultiForm" />)
expect(tree).toMatchSnapshot()
})
it('renders a Multi People Icon', () => {
const tree = render(<Icons type="MultiPeople" />)
expect(tree).toMatchSnapshot()
})
it('renders a Muve U Icon', () => {
const tree = render(<Icons type="MuveU" />)
expect(tree).toMatchSnapshot()
})
it('renders a Note Icon', () => {
const tree = render(<Icons type="Note" />)
expect(tree).toMatchSnapshot()
})
it('renders a Pencil Icon', () => {
const tree = render(<Icons type="Pencil" />)
expect(tree).toMatchSnapshot()
})
it('renders a Person Bubble Icon', () => {
const tree = render(<Icons type="PersonBubble" />)
expect(tree).toMatchSnapshot()
})
it('renders a Person Gear Icon', () => {
const tree = render(<Icons type="PersonGear" />)
expect(tree).toMatchSnapshot()
})
it('renders a Person Hamburger Icon', () => {
const tree = render(<Icons type="PersonHamburger" />)
expect(tree).toMatchSnapshot()
})
it('renders a Phone Icon', () => {
const tree = render(<Icons type="Phone" />)
expect(tree).toMatchSnapshot()
})
it('renders a Pin Icon', () => {
const tree = render(<Icons type="Pin" />)
expect(tree).toMatchSnapshot()
})
it('renders a Plus Icon', () => {
const tree = render(<Icons type="Plus" />)
expect(tree).toMatchSnapshot()
})
it('renders a Plus Small Icon', () => {
const tree = render(<Icons type="PlusSmall" />)
expect(tree).toMatchSnapshot()
})
it('renders a Plus Toggle Icon', () => {
const tree = render(<Icons type="PlusToggle" />)
expect(tree).toMatchSnapshot()
})
it('renders a Rolodex Icon', () => {
const tree = render(<Icons type="Rolodex" />)
expect(tree).toMatchSnapshot()
})
it('renders a Scalpel Icon', () => {
const tree = render(<Icons type="Scalpel" />)
expect(tree).toMatchSnapshot()
})
it('renders a Stopwatch Icon', () => {
const tree = render(<Icons type="Stopwatch" />)
expect(tree).toMatchSnapshot()
})
it('renders a X Icon', () => {
const tree = render(<Icons type="X" />)
expect(tree).toMatchSnapshot()
})
})