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
Just looking into this a bit more, in lib/index.js line 29 the arguments index contains the result of the insert.
For create, a single item fixture such as the one I'm using above will return an object as the result. However with insertMany it will return an array.
Is there any chance we can keep the previous behaviour for single item fixtures?
My tests broke when I upgraded from 0.2.4 to 0.3.0.
An example scenario:
In 0.2.4,
data
looked likeIn 0.3.0,
data
looks likeLooks like it is caused from a change in
lib/index.js
line 28:create
was changed toinsertMany
.Is this expected?
The text was updated successfully, but these errors were encountered: