mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 19:19:03 +01:00 
			
		
		
		
	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:
		
							parent
							
								
									67ee3c30fb
								
							
						
					
					
						commit
						121e7b33ec
					
				| @ -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", () => { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Panagiotis Papadopoulos
						Panagiotis Papadopoulos