new PageTitle component to have each page the same title
This commit is contained in:
12
src/elements/PageTitle/PageTitle.test.js
Normal file
12
src/elements/PageTitle/PageTitle.test.js
Normal 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();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user