Commit 1cfec874 by Ari Rizzitano

move checkbox test

parent bc67b2af
/* eslint-disable import/no-extraneous-dependencies */ /* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable no-console */
import React from 'react'; import React from 'react';
import { storiesOf } from '@storybook/react'; import { storiesOf } from '@storybook/react';
const styles = {
main: {
margin: 15,
maxWidth: 600,
lineHeight: 1.4,
fontFamily: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif',
},
};
storiesOf('Paragon', module) storiesOf('Paragon', module)
.add('Welcome', () => ( .add('Welcome', () => (
<div> <div style={styles.main}>
<h1>💎 Paragon</h1> <h1>💎 Paragon</h1>
<p> <p>
This is a documentation and demo space for the Paragon accessible UI component This is a documentation and demo space for the Paragon accessible UI component
......
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable no-console */ /* eslint-disable no-console */
import React from 'react'; import React from 'react';
import { shallow, mount } from 'enzyme'; import { shallow, mount } from 'enzyme';
import CheckBox from '../src/CheckBox'; import CheckBox from './index';
describe('<CheckBox />', () => { describe('<CheckBox />', () => {
it('attributes are set correctly', () => { it('attributes are set correctly', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment