cost 247 ms
Mock `printfn` in F# tests

I'm trying to write a test for a small lib I'm writing that (essentially) just logs to the console. Is there a way to mock function like this is F#? ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM