From b419db505b8cd5e7aa92043696f42a0d710d9226 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Wed, 8 Jun 2022 15:18:41 -0300
Subject: ui testing

---
 packages/anastasis-webui/src/utils/index.tsx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

(limited to 'packages/anastasis-webui/src/utils/index.tsx')

diff --git a/packages/anastasis-webui/src/utils/index.tsx b/packages/anastasis-webui/src/utils/index.tsx
index ce21071f7..204c48d18 100644
--- a/packages/anastasis-webui/src/utils/index.tsx
+++ b/packages/anastasis-webui/src/utils/index.tsx
@@ -209,10 +209,12 @@ export const reducerStatesExample = {
   initial: undefined,
   recoverySelectCountry: {
     ...base,
+    reducer_type: "recovery",
     recovery_state: RecoveryStates.CountrySelecting,
   } as ReducerState,
   recoverySelectContinent: {
     ...base,
+    reducer_type: "recovery",
     recovery_state: RecoveryStates.ContinentSelecting,
   } as ReducerState,
   secretSelection: {
@@ -222,10 +224,12 @@ export const reducerStatesExample = {
   } as ReducerState,
   recoveryFinished: {
     ...base,
+    reducer_type: "recovery",
     recovery_state: RecoveryStates.RecoveryFinished,
   } as ReducerState,
   challengeSelecting: {
     ...base,
+    reducer_type: "recovery",
     recovery_state: RecoveryStates.ChallengeSelecting,
   } as ReducerState,
   challengeSolving: {
@@ -235,34 +239,42 @@ export const reducerStatesExample = {
   } as ReducerStateRecovery,
   challengePaying: {
     ...base,
+    reducer_type: "recovery",
     recovery_state: RecoveryStates.ChallengePaying,
   } as ReducerState,
   recoveryAttributeEditing: {
     ...base,
+    reducer_type: "recovery",
     recovery_state: RecoveryStates.UserAttributesCollecting,
   } as ReducerState,
   backupSelectCountry: {
     ...base,
+    reducer_type: "backup",
     backup_state: BackupStates.CountrySelecting,
   } as ReducerState,
   backupSelectContinent: {
     ...base,
+    reducer_type: "backup",
     backup_state: BackupStates.ContinentSelecting,
   } as ReducerState,
   secretEdition: {
     ...base,
+    reducer_type: "backup",
     backup_state: BackupStates.SecretEditing,
   } as ReducerState,
   policyReview: {
     ...base,
+    reducer_type: "backup",
     backup_state: BackupStates.PoliciesReviewing,
   } as ReducerState,
   policyPay: {
     ...base,
+    reducer_type: "backup",
     backup_state: BackupStates.PoliciesPaying,
   } as ReducerState,
   backupFinished: {
     ...base,
+    reducer_type: "backup",
     backup_state: BackupStates.BackupFinished,
   } as ReducerState,
   authEditing: {
@@ -272,10 +284,12 @@ export const reducerStatesExample = {
   } as ReducerState,
   backupAttributeEditing: {
     ...base,
+    reducer_type: "backup",
     backup_state: BackupStates.UserAttributesCollecting,
   } as ReducerState,
   truthsPaying: {
     ...base,
+    reducer_type: "backup",
     backup_state: BackupStates.TruthsPaying,
   } as ReducerState,
 };
-- 
cgit v1.2.3

