Closed mungojam closed 6 years ago
That only happens on failing tests as far as I know. A clean and then build will fix that. The setup is not ideal but given that what we're doing is so linked to files being on disk I guess this is something to 'deal with'.
The only real solution that I can see is to abstract away file access so we can mock that but that seems like overkill to me.
I reckon I can fix it, by deleting the file at the start of the test if if already exists. Busy week at work this week (just back from hols), so probably at weekend for this and trying to tidy up other issues I've raised
I guess it should just delete the file if it exists prior to running the test or something like that