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
I want to test API for adding duplicate entries to database, but on backend side it was done using database unique index. which is not applied while test setup.
How do i add indexing while initializing database using mongo-unit?
Unique index is set in mongoose model which initializes when app file loaded
I want to test API for adding duplicate entries to database, but on backend side it was done using database unique index. which is not applied while test setup.
How do i add indexing while initializing database using mongo-unit?
Unique index is set in mongoose model which initializes when app file loaded
This is my setup code
The text was updated successfully, but these errors were encountered: