Skip to content

Commit 0337aaa

Browse files
committed
test: fix test and update the example results
1 parent c041dd5 commit 0337aaa

9 files changed

+1
-1
lines changed

__test__/wasm.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ test('should be load custom WOFF2 font', async (t) => {
327327
const originPixels = Array.from(pngData.pixels)
328328

329329
// Find the number of blue `rgb(0,255,255)`pixels
330-
t.is(originPixels.join(',').match(/0,0,255/g)?.length, 6067)
330+
t.is(originPixels.join(',').match(/0,0,255/g)?.length, 6039)
331331
})
332332

333333
test('should generate a 80x80 png and opaque', async (t) => {

example/bbox-out.png

-22 Bytes
Loading

example/out-resvg-js.png

958 Bytes
Loading

example/out-sharp.png

1.93 KB
Loading

example/out-skr-canvas.png

473 Bytes
Loading

example/text-out-async.png

18.8 KB
Loading

example/text-out.png

611 Bytes
Loading

example/text2-out.png

-13 Bytes
Loading

wasm/index_bg.wasm

41.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)