mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Add comprehensive tests for parseConfiguration function, handle non-object parser results consistently (fixes #1523).
This commit is contained in:
parent
1f237e6c54
commit
63147ee1eb
4 changed files with 97 additions and 11 deletions
|
@ -1305,7 +1305,6 @@ test("configParsersTOML", async(t) => {
|
|||
].join("\n")
|
||||
},
|
||||
"configParsers": [
|
||||
jsoncParser.parse,
|
||||
require("toml").parse
|
||||
]
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue