Skip to content

Commit

Permalink
upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
M9k committed May 10, 2018
1 parent ac2a86d commit 1ea8434
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 19 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Marvin-353

2 changes: 1 addition & 1 deletion testnpm/components/public/Logout.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Image } from 'react-bootstrap';
import { expect } from 'chai'; // eslint-disable-line import/no-extraneous-dependencies
import Logout from '../../../src/components/public/Logout';

describe('Help component', () => {
describe('Logout component', () => {
// 150
it('Should render the component', () => {
const wrapper = shallow(<Logout />);
Expand Down
10 changes: 0 additions & 10 deletions testnpm/components/student/OptionalExams.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,6 @@ describe('StudentOptionalExams component', () => {
it('Should have the correct initial states', () => {
expect(SimpleWrapper.state().select).to.deep.equal(false);
});
/* it('Should have correct states value after running viewSelect()', () => {
SimpleWrapper.instance().viewSelect('test');
expect(SimpleWrapper.state().select).to.deep.equal(true);
expect(SimpleWrapper.state().item).to.deep.equal('test');
});
it('Should have correct states value after running closeSelect()', () => {
SimpleWrapper.instance().closeSelect(item);
expect(SimpleWrapper.state().select).to.deep.equal(false);
});
*/
// Testing container part
// 184
it('Should connect right to the props', () => {
Expand Down
2 changes: 1 addition & 1 deletion testnpm/components/teacher/Index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Index Teacher', () => {
expect(wrapper.find(CardWithIcon)).to.have.length(1);
});
// 192
it('Should render the correct bootsrap component', () => {
it('Should render the correct bootstrap component', () => {
const wrapper = shallow(<Index />);
assert.equal(wrapper.length, 1);
expect(wrapper.find(Jumbotron)).to.have.length(1);
Expand Down
6 changes: 0 additions & 6 deletions testnpm/components/university/UniversityAdmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ describe('UniversityAdmin component', () => {
*/
expect(wrapper.find('div').children()).to.have.length(3);
expect(wrapper.state().delete).to.equal(false);
// pageCompShallow.find('input[name="addressAdmin"]').
// simulate('change', {target: {value: '0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf'}});

// pageCompShallow.find('form').simulate('submit');

// expect(addedAdmin.to.equal(1));
});
// 216
it('Should viewDelete set right the state', () => {
Expand Down
Binary file added testnpm/validation/Steps.pdf
Binary file not shown.

0 comments on commit 1ea8434

Please sign in to comment.