new PageTitle component to have each page the same title

This commit is contained in:
2020-06-19 00:16:18 +02:00
parent 63284da11e
commit d034b2bc52
8 changed files with 60 additions and 29 deletions

View File

@ -0,0 +1,12 @@
import React from 'react';
import {shallow} from 'enzyme'
import PageTitle from "./PageTitle";
describe('<Preview/>', function () {
it('renders without crashing ', function () {
const wrapper = shallow(<PageTitle/>);
wrapper.unmount();
});
});