You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To mock our backend we use factories in which we set default values. It would save us a lot of code if we could use this api. Unfortunately, you cannot change the default values. Empty strings are not an alternative, since an empty string can also simply indicate that the value has not been set (it doesn't have to come from the backend then). The random function doesn't help either, since our tests are based on fixed values. I think it wouldn't be difficult to make the default values configurable? It would really help us a lot.
The text was updated successfully, but these errors were encountered:
To mock our backend we use factories in which we set default values. It would save us a lot of code if we could use this api. Unfortunately, you cannot change the default values. Empty strings are not an alternative, since an empty string can also simply indicate that the value has not been set (it doesn't have to come from the backend then). The random function doesn't help either, since our tests are based on fixed values. I think it wouldn't be difficult to make the default values configurable? It would really help us a lot.
The text was updated successfully, but these errors were encountered: