Signed-off-by: 耿文广 <gengwenguang@huawei.com>
This commit is contained in:
耿文广
2022-09-07 11:11:39 +08:00
parent 6bf92e307e
commit 66121c7c6f
@@ -472,6 +472,16 @@ export function mockBundle() {
})
}
},
getApplicationInfoSync: function(...args) {
console.warn("bundle.getApplicationInfoSync interface mocked in the Previewer. How this interface works on the" +
" Previewer may be different from that on a real device.")
return ApplicationInfo
},
getBundleInfoSync: function(...args) {
console.warn("bundle.getBundleInfoSync interface mocked in the Previewer. How this interface works on the" +
" Previewer may be different from that on a real device.")
return BundleInfo
},
};
return bundle;
}