Skip to content

Commit

Permalink
swap
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Feb 11, 2024
1 parent 33d7281 commit 1607c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/js/utils/image.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ test('pngChunks', async () => {

test('pngInfo', async () => {
const blob = await (await globalThis.fetch('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAEElEQVQI12OQNZcAIgYIBQAL8gGxdzzM0A==')).blob();
expect(await pngInfo(blob)).toEqual({dppx: 2, width: 2});
expect(await pngInfo(blob)).toEqual({width: 2, dppx: 2});
});

0 comments on commit 1607c31

Please sign in to comment.