A nice pattern for writing test is to create a setup factory function that returns the data you need for testing the current module.
確定! 回上一頁