chore(tests): comment out "todo" code in attribute_parser.spec

we now have more stricter TS rules being applied to the spec files, so `tsc` fails with these now.
and since this is set to TODO, because of outdated code,
let's comment out, instead of using //@ts-expect-error
This commit is contained in:
Panagiotis Papadopoulos 2025-01-18 20:32:40 +01:00
parent 67ee3c30fb
commit 121e7b33ec

View File

@ -41,7 +41,9 @@ describe("Lexing", () => {
}); });
describe.todo("Parser", () => { describe.todo("Parser", () => {
/* #TODO
it("simple label", () => { it("simple label", () => {
const attrs = attributeParser.parse(["#token"].map((t: any) => ({ text: t }))); const attrs = attributeParser.parse(["#token"].map((t: any) => ({ text: t })));
expect(attrs.length).toEqual(1); expect(attrs.length).toEqual(1);
@ -85,6 +87,7 @@ describe.todo("Parser", () => {
expect(attrs[0].name).toEqual("token"); expect(attrs[0].name).toEqual("token");
expect(attrs[0].value).toEqual("NFi2gL4xtPxM"); expect(attrs[0].value).toEqual("NFi2gL4xtPxM");
}); });
*/
}); });
describe("error cases", () => { describe("error cases", () => {