diff --git a/pages/API/get-app/get-app.test.js b/pages/API/get-app/get-app.test.js index b934c9071f4822f3bc589a7ace5ea1111d0fada8..376c1b6971627f949365af40e372b5ab99f5546a 100644 --- a/pages/API/get-app/get-app.test.js +++ b/pages/API/get-app/get-app.test.js @@ -8,5 +8,6 @@ describe('getApp', () => { await page.callMethod('_increasetLifeCycleNum') const newData = await page.data() expect(newData.lifeCycleNum - oldData.lifeCycleNum).toBe(100) + await page.callMethod('setLifeCycleNum', oldData.lifeCycleNum) }) }) diff --git a/pages/API/get-app/get-app.uvue b/pages/API/get-app/get-app.uvue index 580da9f548ab20640f14865a61815c23f2bf03b3..e9cab3561c05920ff126e231b85a15ad51fdc374 100644 --- a/pages/API/get-app/get-app.uvue +++ b/pages/API/get-app/get-app.uvue @@ -8,7 +8,7 @@