feat: customize sessions and overview with faster account workflows

This commit is contained in:
陈煜 committed 2026-10-03 18:07:19 +08:00
1 parent 9a133e82e9
commit 425b45c91a
40 files changed
+1656 -335

No files matched your search

+5
View File
@@ -285,6 +285,11 @@ test('icon processing creates transparent white cutouts and preserves brand colo
.ensureAlpha()
.raw()
.toBuffer();
const preserved = await sharp(await normalizeIcon(input, true))
.ensureAlpha()
.raw()
.toBuffer();
assert.deepEqual([...preserved], [...pixels]);
assert.equal(output[3], 0);
assert.deepEqual([...output.subarray(4)], [10, 120, 60, 255]);
});