Jest (interesting bug) — dependency on mocking
I met an interesting bug this morning and I would like to share.
I ran the unit test and it throwed me errors. The unit test called the custom initializer at the beginning, and the initializer called 2 functions in the…