The miniflare vitest docs have this note, "you must call the globalsetupMiniflareIsolatedStorage() method at the start of your tests and use the returned describe function in-place of the regular describe/suite functions imported from vitest to enable isolated storage.We're investigating ways of removing this requirement in the future, and will likely remove this function in a future release."
This makes me sad. I like my describe level to be independent of other describe level things, but I use test/it level to organize a long chain of interdependent steps (create an item, update the item in one way, update the item in another way, etc.). Right now, I can just not use
globalsetupMiniflareIsolatedStorage
globalsetupMiniflareIsolatedStorage
, but if you make it automatic later, it sounds like all of my tests will break. I'm hoping that there will be a way to control the isolation rather than have it always be on.