DocumentationHelp wantedgood first issuehacktoberfestpinned
仓库指标
- Star
- (9,548 star)
- PR 合并指标
- (平均合并 6天 16小时) (30 天内合并 15 个 PR)
描述
There are usually three main categories of stubbing when dealing with network requests:
- stubbing out the api doing the actual network calls using a link seam
- stubbing out the api doing the actual network calls using dependency injection of some sort
- stubbing out the network layer in the underlying engine (browser or Node)
Presently we only have one article covering the first option, and very little on the two next approaches. We should create a small how-to for the article section that covers how to do basic (no framework) dependency injection.
I have already written a lot of text that could serve as the basis for such an article.