From 121e7b33ecb4a2e726bc011d1fb871ba71289796 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sat, 18 Jan 2025 20:32:40 +0100 Subject: [PATCH] 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 --- src/public/app/services/attribute_parser.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/public/app/services/attribute_parser.spec.ts b/src/public/app/services/attribute_parser.spec.ts index d8dcf09d5..7e83c53a4 100644 --- a/src/public/app/services/attribute_parser.spec.ts +++ b/src/public/app/services/attribute_parser.spec.ts @@ -41,7 +41,9 @@ describe("Lexing", () => { }); describe.todo("Parser", () => { + /* #TODO it("simple label", () => { + const attrs = attributeParser.parse(["#token"].map((t: any) => ({ text: t }))); expect(attrs.length).toEqual(1); @@ -85,6 +87,7 @@ describe.todo("Parser", () => { expect(attrs[0].name).toEqual("token"); expect(attrs[0].value).toEqual("NFi2gL4xtPxM"); }); + */ }); describe("error cases", () => {