add filemanager mock

Signed-off-by: zhangxingxia <zhangxingxia1@huawei.com>
This commit is contained in:
zhangxingxia
2022-01-18 16:15:44 +08:00
parent 92d179f4b9
commit 78098162f3
@@ -26,7 +26,7 @@ export function mockFileManager() {
})
}
},
createFile: function (...args) {
createFile: function (...args) {
console.warn("filemanager.createFile interface mocked in the Previewer. How this interface works on the" +
" Previewer may be different from that on a real device.")
const len = args.length