test(webmail): keep the byte-count test ASCII (lang-lint R9)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
dabd1568d1
commit
e0e5b1b880
1 file changed
+1
-1
@@ -148,7 +148,7 @@ describe("buildLogoSvg", () => {
|
|||||||
|
|
||||||
it("counts bytes, not characters", () => {
|
it("counts bytes, not characters", () => {
|
||||||
expect(byteLength("a")).toBe(1);
|
expect(byteLength("a")).toBe(1);
|
||||||
expect(byteLength("é")).toBe(2);
|
expect(byteLength("\u00e9")).toBe(2);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user