diff --git a/pages/API/get-app/get-app.test.js b/pages/API/get-app/get-app.test.js
index 598a639b7f93ee90d14b3880fbb16067f0f72ab2..88dcc9203203ce4080e734400cf9d89c597584a3 100644
--- a/pages/API/get-app/get-app.test.js
+++ b/pages/API/get-app/get-app.test.js
@@ -46,5 +46,13 @@ describe('getApp', () => {
const newLifeCycleNum = await page.data('lifeCycleNum')
expect(newLifeCycleNum - oldLifeCycleNum).toBe(100)
await page.callMethod('setLifeCycleNum', oldLifeCycleNum)
+ })
+ it('eventBus', async () => {
+ const res = await page.callMethod('checkEventBus')
+ expect(res).toBe(true)
+ })
+ it('getAndroidApplication', async () => {
+ const res = await page.callMethod('checkGetAndroidApplication')
+ expect(res).toBe(true)
})
})
diff --git a/pages/API/get-app/get-app.uvue b/pages/API/get-app/get-app.uvue
index 02f99f6e4665a8b4ae426de20ae885c4b8cc69d1..4fc32f471ce4f80bfd0f58a017dc201ae0880b13 100644
--- a/pages/API/get-app/get-app.uvue
+++ b/pages/API/get-app/get-app.uvue
@@ -35,10 +35,16 @@
点击按钮调用 App.uvue methods
increasetLifeCycleNum 方法
-