mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Simplify test directory by moving all JSON configuration for scenario tests into the Markdown file via markdownlint-configure-file.
This commit is contained in:
parent
c49d37c382
commit
0ebcf248ca
265 changed files with 2184 additions and 1106 deletions
|
|
@ -36,6 +36,7 @@ test("resultFormattingV0", (t) => new Promise((resolve) => {
|
|||
"MD002": true,
|
||||
"MD041": false
|
||||
},
|
||||
"noInlineConfig": true,
|
||||
"resultVersion": 0
|
||||
};
|
||||
markdownlint(options, function callback(err, actualResult) {
|
||||
|
|
@ -94,6 +95,7 @@ test("resultFormattingSyncV0", (t) => {
|
|||
"MD002": true,
|
||||
"MD041": false
|
||||
},
|
||||
"noInlineConfig": true,
|
||||
"resultVersion": 0
|
||||
};
|
||||
const actualResult = markdownlint.sync(options);
|
||||
|
|
@ -153,6 +155,7 @@ test("resultFormattingV1", (t) => new Promise((resolve) => {
|
|||
"MD002": true,
|
||||
"MD041": false
|
||||
},
|
||||
"noInlineConfig": true,
|
||||
"resultVersion": 1
|
||||
};
|
||||
markdownlint(options, function callback(err, actualResult) {
|
||||
|
|
@ -256,6 +259,7 @@ test("resultFormattingV2", (t) => new Promise((resolve) => {
|
|||
"MD002": true,
|
||||
"MD041": false
|
||||
},
|
||||
"noInlineConfig": true,
|
||||
"resultVersion": 2
|
||||
};
|
||||
markdownlint(options, function callback(err, actualResult) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue