The Speaker Detail component

We are now ready to create our SpeakerDetailPage. There isn't much to this component. It will need to be another container component so that it can use the get speaker action. Because it is a container component, we will not be placing any markup directly into this component. The good news for us is that it means our tests will be short and simple.

To get the tests started, create an existence test.

describe('Speaker Detail Page', () => {   it('exists', () => {     expect(SpeakerDetailPage).to.exist;   }); });

Create a SpeakerDetailPage file and add a component to it.

export class SpeakerDetailPage extends Component {   render() {     return (<div></div>);   } }

The next thing we want to test, the only other thing we can test ...

Get Improving your C# Skills now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.