1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1× 1× 1× 1× 1× 1× 1× 1× 1× 1× | "use strict"; var chai_1 = require('chai'); var TestHelper_1 = require('../../helpers/TestHelper'); var index_1 = require('./index'); describe('<About />', function () { var component = TestHelper_1.renderComponent(index_1.About); it('Renders with correct style', function () { var s = require('./style.css'); chai_1.expect(component.find(s.about)).to.exist; }); it('Renders header with text', function () { chai_1.expect(component.find('h4').text()).to.eql('About'); }); }); |