diff --git a/packages/peregrine/lib/talons/CheckoutPage/OrderConfirmationPage/__tests__/__snapshots__/useCreateAccount.spec.js.snap b/packages/peregrine/lib/talons/CheckoutPage/OrderConfirmationPage/__tests__/__snapshots__/useCreateAccount.spec.js.snap index f64b802037..f19ad85d20 100644 --- a/packages/peregrine/lib/talons/CheckoutPage/OrderConfirmationPage/__tests__/__snapshots__/useCreateAccount.spec.js.snap +++ b/packages/peregrine/lib/talons/CheckoutPage/OrderConfirmationPage/__tests__/__snapshots__/useCreateAccount.spec.js.snap @@ -1,24 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`errros should render properly 1`] = ` -Map { - "createAccountQuery" => "Create Account Mutation Error", - "signInMutation" => "Sign In Mutation Error", -} -`; - -exports[`handle submit event creates an account, dispatches event, signs in, and generates a new cart 1`] = ` -Object { - "payload": Object { - "email": "bender@planet.express", - "firstName": "Bender", - "isSubscribed": false, - "lastName": "Rodriguez", - }, - "type": "USER_CREATE_ACCOUNT", -} -`; - exports[`handle submit event should dispatch create account event 1`] = ` Object { "payload": Object { @@ -31,60 +12,6 @@ Object { } `; -exports[`handleSubmit should dispatch create account event 1`] = ` -Object { - "payload": Object { - "email": "bender@planet.express", - "firstName": "Bender", - "isSubscribed": false, - "lastName": "Rodriguez", - }, - "type": "USER_CREATE_ACCOUNT", -} -`; - -exports[`returns the correct shape 1`] = ` -Object { - "errors": Map { - "createAccountQuery" => undefined, - "signInMutation" => undefined, - }, - "handleEnterKeyPress": [Function], - "handleSubmit": [Function], - "initialValues": Object { - "customer": Object { - "email": "philipfry@fake.email", - "firstname": "Philip", - "lastname": "Fry", - }, - }, - "isDisabled": false, - "recaptchaWidgetProps": Object {}, - "minimumPasswordLength":8 -} -`; - -exports[`returns the correct shape with no initial values 1`] = ` -Object { - "errors": Map { - "createAccountQuery" => undefined, - "signInMutation" => undefined, - }, - "handleEnterKeyPress": [Function], - "handleSubmit": [Function], - "initialValues": Object { - "customer": Object { - "email": undefined, - "firstname": undefined, - "lastname": undefined, - }, - }, - "isDisabled": false, - "recaptchaWidgetProps": Object {}, - minimumPasswordLength:8 -} -`; - exports[`should return properly 1`] = ` Object { "errors": Map {