PasswordStrength_specs.tsx 483 B

1234567891011121314
  1. // import React from 'react';
  2. // import {describe, beforeEach, it, sinon, expect} from 'test/lib/common';
  3. // import {shallow} from 'enzyme';
  4. //
  5. // import {PasswordStrength} from '../components/PasswordStrength';
  6. //
  7. // describe('PasswordStrength', () => {
  8. //
  9. // it.skip('should have class bad if length below 4', () => {
  10. // const wrapper = shallow(<PasswordStrength password="asd" />);
  11. // expect(wrapper.find(".password-strength-bad")).to.have.length(3);
  12. // });
  13. // });
  14. //