Verify Mojo: failure file only gets written when failOnError is set to false