mirror of
				https://github.com/theoludwig/markdownlint-rule-relative-links.git
				synced 2025-11-01 00:49:07 +01:00 
			
		
		
		
	fix: should only check valid fragments in markdown (.md) files
This commit is contained in:
		@@ -123,6 +123,11 @@ test("ensure the rule validates correctly", async (t) => {
 | 
			
		||||
        fixturePath:
 | 
			
		||||
          "test/fixtures/valid/existing-heading-fragment/existing-heading-fragment.md",
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        name: "should only parse markdown files for fragments checking",
 | 
			
		||||
        fixturePath:
 | 
			
		||||
          "test/fixtures/valid/only-parse-markdown-files-for-fragments/only-parse-markdown-files-for-fragments.md",
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        name: "with an existing file",
 | 
			
		||||
        fixturePath: "test/fixtures/valid/existing-file.md",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user