Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
test(unit): update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfelton committed May 23, 2020
1 parent 0de7709 commit b3bf9de
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions test/unit/reducers/__snapshots__/account.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Snapshot Diff:
+ Second value
Object {
"initAccountError": null,
"isAccountLoaded": false,
- "isAccountLoading": false,
+ "isAccountLoading": true,
Expand All @@ -19,19 +18,7 @@ Snapshot Diff:

exports[`reducers accountReducer should handle INIT_ACCOUNT_FAILURE 1`] = `
Snapshot Diff:
- First value
+ Second value
Object {
- "initAccountError": null,
+ "initAccountError": "some error",
"isAccountLoaded": false,
"isAccountLoading": false,
"isLoggedIn": false,
"isLoggingIn": false,
"isPasswordEnabled": null,
"loginError": null,
}
Compared values have no visual difference.
`;

exports[`reducers accountReducer should handle INIT_ACCOUNT_SUCCESS 1`] = `
Expand All @@ -40,7 +27,6 @@ Snapshot Diff:
+ Second value
Object {
"initAccountError": null,
- "isAccountLoaded": false,
+ "isAccountLoaded": true,
"isAccountLoading": false,
Expand All @@ -57,7 +43,6 @@ Snapshot Diff:
+ Second value
Object {
"initAccountError": null,
"isAccountLoaded": false,
"isAccountLoading": false,
"isLoggedIn": false,
Expand All @@ -79,7 +64,6 @@ Snapshot Diff:
+ Second value
Object {
"initAccountError": null,
"isAccountLoaded": false,
"isAccountLoading": false,
"isLoggedIn": false,
Expand All @@ -96,7 +80,6 @@ Snapshot Diff:
+ Second value
Object {
"initAccountError": null,
"isAccountLoaded": false,
"isAccountLoading": false,
- "isLoggedIn": false,
Expand All @@ -109,7 +92,6 @@ Snapshot Diff:

exports[`reducers accountReducer should handle initial state 1`] = `
Object {
"initAccountError": null,
"isAccountLoaded": false,
"isAccountLoading": false,
"isLoggedIn": false,
Expand Down

0 comments on commit b3bf9de

Please sign in to comment.