techgaun/mock

create a lock so tests don't have to worry about being async: false

Open

#6 建立於 2018年10月8日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Elixir (1 fork)github user discovery
enhancementhelp wantedquestion

倉庫指標

Star
 (1 star)
PR 合併指標
 (PR 指標待抓取)

描述

We need to have a process that controls mocking via lock. On every mock, the process will request for lock from this lock handling process. Once the test execution completes, it will release the lock & the next test can do the mocking. Would have to see how feasible it would be and if anything would actually block certain tests to the point it times out?

I am not sure if this will always work for consumers though. For example, anything not mocking will try to access the original module?

貢獻者指南