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