From 1607c310f718a4526f0243a408f48cee4335af86 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 10 Feb 2024 18:00:13 +0100 Subject: [PATCH] swap --- web_src/js/utils/image.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/utils/image.test.js b/web_src/js/utils/image.test.js index b22765fce4b21..9d5d6a0a203c1 100644 --- a/web_src/js/utils/image.test.js +++ b/web_src/js/utils/image.test.js @@ -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}); });