Skip to content

Commit

Permalink
test: fix test and update the example results
Browse files Browse the repository at this point in the history
  • Loading branch information
yisibl committed Oct 16, 2023
1 parent 79cbc8b commit 92ed453
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __test__/wasm.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ test('should be load custom WOFF2 font', async (t) => {
const originPixels = Array.from(pngData.pixels)

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

test('should generate a 80x80 png and opaque', async (t) => {
Expand Down
Binary file modified example/bbox-out.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/out-resvg-js.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/out-sharp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/out-skr-canvas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/text-out-async.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/text-out.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/text2-out.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified wasm/index_bg.wasm
Binary file not shown.

0 comments on commit 92ed453

Please sign in to comment.