Fakultas Ilmu Komputer UI

Commit 4a9777b8 authored by alif fadila safriyanto's avatar alif fadila safriyanto
Browse files

[RED] check topmenu state containst today quotes

parent 3eebdef1
......@@ -214,5 +214,14 @@ describe('TopMenu', () => {
topmenu.handleItemClick(new Event('click'), 'undefined');
it('check topmenu state containst today quotes', () => {
const topmenu = ReactTestUtils.renderIntoDocument(
<TopMenu user={adminUser2}>
<div> test </div>
const topMenuQuote = topmenu.state.todayQuote;
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