Fakultas Ilmu Komputer UI

Commit 7beade44 authored by Muhammad At Thoriq's avatar Muhammad At Thoriq
Browse files

Merge branch '1606918484-102' into 'master'

1606918484 102

See merge request !118
parents 9778061a 0a60a062
Pipeline #24462 passed with stages
in 5 minutes and 20 seconds
......@@ -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