Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects

1606875996 30

Merged NABILA FAKHIRAH YUSRONI requested to merge 1606875996-30 into master
10 files
+ 119
30
Compare changes
  • Side-by-side
  • Inline
Files
10
@@ -140,7 +140,7 @@ describe('ProfilePage', () => {
const profile = ReactTestUtils.renderIntoDocument(
<ProfilePage route={{ own: true, data: studentSession }} user={{ data: studentSession }} params={{ id: 3 }} />);
const checkboxNode = ReactTestUtils.scryRenderedDOMComponentsWithTag(profile, 'Input')[7];
const checkboxNode = ReactTestUtils.scryRenderedDOMComponentsWithTag(profile, 'Input')[8];
const checkbox = false;
checkboxNode.value = checkbox;
profile.getProfile().then(()=> expect(profile.state.show_transcript).to.equal(true));
Loading