mock upload deps in doc.js
Merge pull request #944 from afc163/fix-broken-test

mock upload deps in doc.js