From f4751cf26abcae4c8f6bd703966cb739a7685fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=B8=9D?= Date: Wed, 6 Mar 2024 21:20:45 +0800 Subject: [PATCH] test: skip load url test --- __test__/index.spec.ts | 2 +- __test__/wasm.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__test__/index.spec.ts b/__test__/index.spec.ts index 8a342c98..6a8be607 100755 --- a/__test__/index.spec.ts +++ b/__test__/index.spec.ts @@ -9,7 +9,7 @@ import { Resvg, renderAsync } from '../index' import { jimpToRgbaPixels } from './helper' -test('Use href to load a JPG image without alpha', async (t) => { +test.skip('Use href to load a JPG image without alpha', async (t) => { const imgUrl = 'https://wd.imgix.net/image/kheDArv5csY6rvQUJDbWRscckLr1/De5peVXJZz3uSEmmVeYJ.png?w=500' const svg = ` diff --git a/__test__/wasm.spec.ts b/__test__/wasm.spec.ts index de10b0eb..ac5741d0 100755 --- a/__test__/wasm.spec.ts +++ b/__test__/wasm.spec.ts @@ -15,7 +15,7 @@ test.before(async () => { await initWasm(fs.readFile(join(__dirname, '../wasm/index_bg.wasm'))) }) -test('Use href to load a JPG image without alpha', async (t) => { +test.skip('Use href to load a JPG image without alpha', async (t) => { const imgUrl = 'https://wd.imgix.net/image/kheDArv5csY6rvQUJDbWRscckLr1/De5peVXJZz3uSEmmVeYJ.png?w=500' const svg = `