谁能帮我编写一个示例测试场景?
storage是一个库(谷歌云)最终在代码行下方将返回一个由文件名和日期组成的数组。
function abc(){
const files = [];
files = await storage.bucket(bucketName).getFiles();
return files;
}
Run Code Online (Sandbox Code Playgroud) mocha.js sinon google-cloud-storage google-cloud-platform google-cloud-functions