diff --git a/__test__/index.spec.ts b/__test__/index.spec.ts index 52c65d78..3d427064 100755 --- a/__test__/index.spec.ts +++ b/__test__/index.spec.ts @@ -10,9 +10,9 @@ import { Resvg, renderAsync } from '../index' import { jimpToRgbaPixels } from './helper' test('Use href to load a JPG image without alpha', async (t) => { - const imgUrl = 'https://himg.bdimg.com/sys/portrait/hotitem/wildkid/46' + const imgUrl = 'https://wd.imgix.net/image/kheDArv5csY6rvQUJDbWRscckLr1/De5peVXJZz3uSEmmVeYJ.png?w=500' const svg = ` - + ` const resvg = new Resvg(svg, { font: { diff --git a/__test__/wasm.spec.ts b/__test__/wasm.spec.ts index aa9daeaa..d67a736e 100755 --- a/__test__/wasm.spec.ts +++ b/__test__/wasm.spec.ts @@ -16,9 +16,9 @@ test.before(async () => { }) test('Use href to load a JPG image without alpha', async (t) => { - const imgUrl = 'https://himg.bdimg.com/sys/portrait/hotitem/wildkid/46' + const imgUrl = 'https://wd.imgix.net/image/kheDArv5csY6rvQUJDbWRscckLr1/De5peVXJZz3uSEmmVeYJ.png?w=500' const svg = ` - + ` const resvg = new Resvg(svg) const resolved = await Promise.all(