barrels
barrels copied to clipboard
Fixtures mutated and on new Barrels() the previous records are still present
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?
hello @alekaizer, thanks for your interest in Barrels. please make sure to read this: https://github.com/bredikhin/barrels#project-status