# Why need mock > 為了讓每次測試時,API 環境穩定,不要讓測試相依網路環境,我們需要將 http 隔離。 ## 否則 1. 跑測試的時候,對方 server 掛掉,測試就沒過了。 2. 沒有網路的話,也不用跑測試了
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up