Mocking process.exit. To safely test the branch where condition is true you have to mock process.exit . Of course ...
確定! 回上一頁