diff --git a/pages/API/create-canvas-context-async/child-canvas.uvue b/pages/API/create-canvas-context-async/child-canvas.uvue deleted file mode 100644 index 0736f5a2439cfd473e9eab439e9b242ca30c03c6..0000000000000000000000000000000000000000 --- a/pages/API/create-canvas-context-async/child-canvas.uvue +++ /dev/null @@ -1,43 +0,0 @@ - - - diff --git a/pages/API/create-canvas-context-async/create-canvas-context-async.test.js b/pages/API/create-canvas-context-async/create-canvas-context-async.test.js deleted file mode 100644 index c92f53ea552f4c437312c772a8528637d469301c..0000000000000000000000000000000000000000 --- a/pages/API/create-canvas-context-async/create-canvas-context-async.test.js +++ /dev/null @@ -1,25 +0,0 @@ -const PAGE_PATH = '/pages/API/create-canvas-context-async/create-canvas-context-async' - -describe('create-canvas-context-async', () => { - let page - beforeAll(async () => { - page = await program.reLaunch(PAGE_PATH) - await page.waitFor('view') - }) - - it('page canvas', async () => { - await page.waitFor(100) - const data = await page.data() - expect(data.testCreateCanvasContextAsyncSuccess).toBe(true) - }) - - it('component canvas', async () => { - // child-canvas - await page.waitFor(100) - // const element = await page.$('.node-child-component') - const element = await page.$('child-canvas') - const data = await page.data() - expect(data.isCanvasContextNull).toBe(true) - - }) -}) diff --git a/pages/API/create-canvas-context-async/create-canvas-context-async.uvue b/pages/API/create-canvas-context-async/create-canvas-context-async.uvue deleted file mode 100644 index e4f6f78977b351f03e5770ba25d163668e8fe143..0000000000000000000000000000000000000000 --- a/pages/API/create-canvas-context-async/create-canvas-context-async.uvue +++ /dev/null @@ -1,943 +0,0 @@ - - - - -