UNPKG

@muvehealth/fixins

Version:

Component library for Muvehealth

25 lines (22 loc) 604 B
/* eslint-disable function-paren-newline, comma-dangle */ import React from 'react' import Sticker from '../Sticker' import ThemeWrapper from '../../theme/ThemeWrapper' describe('Sticker', () => { it('renders a Sticker', () => { const tree = render( <Sticker>Sticker</Sticker> ) expect(tree).toMatchSnapshot() }) it('renders a Sticker with a custom theme', () => { const tree = render( <ThemeWrapper theme={{ colors: { lightGreen: '#000000' } }} > <Sticker>Sticker</Sticker> </ThemeWrapper> ) expect(tree).toMatchSnapshot() }) })