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
This is to imitate the DynamoDB behaviour that throws this error:
The AttributeValue for a key attribute cannot contain an empty string value.
I'm using jest-dynalite to test a user creating function, and I'm sad that the unit tests don't fail when creating a user with an empty email despite the email being an index field. I have only found that out in production.
The text was updated successfully, but these errors were encountered:
This is to imitate the DynamoDB behaviour that throws this error:
I'm using jest-dynalite to test a user creating function, and I'm sad that the unit tests don't fail when creating a user with an empty email despite the email being an index field. I have only found that out in production.
The text was updated successfully, but these errors were encountered: