提交 5cd48652 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

perf: 放开 getElementById 入口,并优化测试

上级 43db919d
......@@ -3,12 +3,6 @@ const PAGE_PATH =
let page;
describe("getElementByIdForMultipleRootNode", () => {
if (process.env.uniTestPlatformInfo.indexOf('web') > -1) {
it('dummyTest', () => {
expect(1).toBe(1)
})
return
}
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH);
await page.waitFor('view');
......
......@@ -2,12 +2,6 @@ const PAGE_PATH = "/pages/API/get-element-by-id/get-element-by-id";
let page;
describe("getElementById", () => {
if (process.env.uniTestPlatformInfo.indexOf('web') > -1) {
it('dummyTest', () => {
expect(1).toBe(1)
})
return
}
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH);
await page.waitFor('view');
......
......@@ -144,12 +144,12 @@
// url: "intersection-observer",
// enable: false
// },
// #ifdef APP
{
name: 'element元素',
url: 'get-element-by-id',
api: ["getElementById"],
},
// #ifdef APP
{
name: 'element draw',
url: 'element-draw',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册