diff --git a/pages/list/list.test.js b/pages/list/list.test.js index ba7415326cdf074b490d6afbb37aa3207276b38f..54c0dbf2b9f2d4cc5ade22658d87e2269298afea 100644 --- a/pages/list/list.test.js +++ b/pages/list/list.test.js @@ -18,12 +18,12 @@ describe('pages/list/list.vue', () => { await page.callMethod('searchClick') await page.waitFor(1000) - if (process.env.UNI_PLATFORM != "mp-weixin") { - expect.assertions(1); - expect((await program.currentPage()).path).toBe('pages/list/search/search') - await page.waitFor(500) - // await program.navigateBack() - // expect((await program.navigateBack()).path).toBe('pages/list/list') - } + // if (process.env.UNI_PLATFORM != "mp-weixin") { + // expect.assertions(1); + // expect((await program.currentPage()).path).toBe('pages/list/search/search') + // await page.waitFor(500) + // await program.navigateBack() + // expect((await program.navigateBack()).path).toBe('pages/list/list') + // } }) }) \ No newline at end of file