Please provide a minimal, reproducible test-case.
Follow the instructions on the Pull Request Template (shown when you open a new PR) and make sure you've done the following:
- Add & update tests
- Update relevant documentation and/or examples
This package uses yarn for development dependency management. Ensure you have it installed before continuing.
yarn
IMPORTANT Before run tests, you should create a qiniu.config.json
in test
directory with the following example content:
{
"accessKey": "<Your qiniu AccessKey>",
"secretKey": "<Your qiniu SecretKey>",
"bucket": "<Your qiniu bucket name>",
"baseURL": "<Your qiniu bucket baseURL>",
"zone": "<Qiniu upload zone>"
}
yarn test
yarn build