14 lines
426 B
TypeScript
14 lines
426 B
TypeScript
|
/* import { h } from 'preact';
|
||
|
// See: https://github.com/preactjs/enzyme-adapter-preact-pure
|
||
|
import { shallow } from 'enzyme';
|
||
|
import Header from '../components/header';
|
||
|
|
||
|
describe('Initial Test of the Header', () => {
|
||
|
test('Header renders 3 nav items', () => {
|
||
|
const context = shallow(<Header />);
|
||
|
expect(context.find('h1').text()).toBe('Preact App');
|
||
|
expect(context.find('Link').length).toBe(3);
|
||
|
});
|
||
|
});
|
||
|
*/
|