@@ -3,27 +3,27 @@ import {Promise} from "es6-promise";
33import * as React from "react" ;
44import { RegisterForm , RegisterReduxForm } from "./RegisterForm" ;
55describe ( "<RegisterForm />" , ( ) => {
6- it ( "without props" , ( ) => {
6+ it ( "matches snapshot when without props" , ( ) => {
77 const component = < RegisterReduxForm /> ;
88 expect ( component ) . toMatchSnapshot ( ) ;
99 } ) ;
1010
11- it ( "when submitting button is disabled" , ( ) => {
11+ it ( "matches snapshot when submitting button is disabled" , ( ) => {
1212 const component = < RegisterReduxForm submitting = { true } /> ;
1313 expect ( component ) . toMatchSnapshot ( ) ;
1414 } ) ;
1515
16- it ( "when submitting button is enabled" , ( ) => {
16+ it ( "matches snapshot when submitting button is enabled" , ( ) => {
1717 const component = < RegisterReduxForm submitting = { false } /> ;
1818 expect ( component ) . toMatchSnapshot ( ) ;
1919 } ) ;
2020
21- it ( "when clear button is disabled" , ( ) => {
21+ it ( "matches snapshot when clear button is disabled" , ( ) => {
2222 const component = < RegisterReduxForm pristine = { true } /> ;
2323 expect ( component ) . toMatchSnapshot ( ) ;
2424 } ) ;
2525
26- it ( "when clear button is enabled" , ( ) => {
26+ it ( "matches snapshot when clear button is enabled" , ( ) => {
2727 const component = < RegisterReduxForm pristine = { false } submitting = { false } /> ;
2828 expect ( component ) . toMatchSnapshot ( ) ;
2929 } ) ;
0 commit comments