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
So I have this sails project, and I added tests. Everything works fine when run separately, but when merged and tried to run all the tests, I'm having issues creating new records. when i checked barrels.data, I noticed that the records created on the previous tests are loaded instead of the one that should be read from the fixtures files which is causing issue as I'm trying to create records that were already created on the previous tests set.
How to solve or prevent this? Shouldn't it be that on new Barrels() a new instance of barrels and a new read of the fixtures be made?
The text was updated successfully, but these errors were encountered:
Barrels version: 1.6.5
Sails: 1.2.3
Adapter: Sails-Disk
inMemoryOnly: true
So I have this sails project, and I added tests. Everything works fine when run separately, but when merged and tried to run all the tests, I'm having issues creating new records. when i checked barrels.data, I noticed that the records created on the previous tests are loaded instead of the one that should be read from the fixtures files which is causing issue as I'm trying to create records that were already created on the previous tests set.
How to solve or prevent this? Shouldn't it be that on
new Barrels()
a new instance of barrels and a new read of the fixtures be made?The text was updated successfully, but these errors were encountered: