Fakultas Ilmu Komputer UI

Commit 0a60a062 authored by Muhammad At Thoriq's avatar Muhammad At Thoriq
Browse files

1606918484 102

parent 9778061a
......@@ -9,4 +9,13 @@ describe('FeedbackPage', () => {
);
expect(feedbackPage).to.exist;
});
it('contains page title', () => {
const feedbackPage = ReactTestUtils.renderIntoDocument(
<FeedbackPage />,
);
const titleh1 = ReactTestUtils.findRenderedDOMComponentWithTag(feedbackPage, 'h1');
const titleh2 = ReactTestUtils.findRenderedDOMComponentWithTag(feedbackPage, 'h2');
expect(titleh1.textContent).to.equal('Berikan Umpan Balik');
expect(titleh2.textContent).to.equal('Silahkan berikan umpan balik atas layanan yang disediakan oleh KaPe');
});
});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment