"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!');
});
});
|