From a6946cab770712c8131a8609cccb447477b91770 Mon Sep 17 00:00:00 2001 From: shutao Date: Wed, 7 Aug 2024 11:31:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4object=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/object/object.test.js | 18 ---------- pages/component/object/object.uvue | 50 --------------------------- 2 files changed, 68 deletions(-) delete mode 100644 pages/component/object/object.test.js delete mode 100644 pages/component/object/object.uvue diff --git a/pages/component/object/object.test.js b/pages/component/object/object.test.js deleted file mode 100644 index 692c9317..00000000 --- a/pages/component/object/object.test.js +++ /dev/null @@ -1,18 +0,0 @@ -describe('object.uvue', () => { - if (process.env.uniTestPlatformInfo.indexOf('web') > -1 || process.env.UNI_AUTOMATOR_APP_WEBVIEW == 'true') { - it('object', () => { - expect(1).toBe(1) - }) - return - } - beforeAll(async () => { - page = await program.reLaunch('/pages/component/object/object') - await page.waitFor('native-button'); - }); - - it('object检测init函数是否相应', async () => { - await page.waitFor(600) - const value = await page.data('isLoad') - expect(value).toBe(true) - }) -}) diff --git a/pages/component/object/object.uvue b/pages/component/object/object.uvue deleted file mode 100644 index 72774d9b..00000000 --- a/pages/component/object/object.uvue +++ /dev/null @@ -1,50 +0,0 @@ - - - - - -- GitLab