Consider the following code:
[Test, UseReporter(typeof(WinMergeReporter))]
public void Test()
{
var fileToVerify = "test.csv";
Approvals.VerifyFile(fileToVerify);
}
Whenever I run this, the file "test.csv" gets deleted. In the ApprovalTests source code, I've seen that received files are getting deleted but I was under the impression that this applied to the .received. files which normally get created.
Incidentally, I don't see any .received. file created in this instance. My first question is what is actually going under the hood as the code isn't quite making sense. My next question is how do I prevent "test.csv" from getting deleted.