all files / containers/Home/ index.test.tsx

100% Statements 12/12
100% Branches 0/0
100% Functions 4/4
100% Lines 12/12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19             
"use strict";
var chai_1 = require('chai');
var TestHelper_1 = require('../../helpers/TestHelper');
var index_1 = require('./index');
describe('<Home />', function () {
    var component = TestHelper_1.renderComponent(index_1.Home);
    it('Renders with correct style', function () {
        var s = require('./style.css');
        chai_1.expect(component.find(s.home)).to.exist;
    });
    it('Renders CA Logo', function () {
        chai_1.expect(component.find('img')).to.exist;
    });
    it('Has a p element that says Hello!', function () {
        chai_1.expect(component.find('p').text()).eql('Hello!');
    });
});