accelerator-core
Version:
[](https://travis-ci.org/furkleindustries/accelerator-core)
23 lines (17 loc) • 405 B
JSX
import {
shallow,
} from 'enzyme';
import option from './{{{name}}}';
import * as React from 'react';
const {
name,
content: Option,
} = option;
describe('Tests for the {{{{name}}} option.', () => {
it('Has a non-empty name string.', () => {
expect(name && typeof name === 'string').toBe(true);
});
it('Renders shallowly without crashing.', () => {
shallow(<Option />);
});
});