mirror of
https://github.com/remarkjs/remark-lint.git
synced 2024-09-11 19:57:15 +03:00
Fix dot-files from being read as fixtures
This commit is contained in:
parent
7ed4579922
commit
ecbec2c27d
@ -1822,7 +1822,11 @@ var nonnode = [
|
||||
];
|
||||
|
||||
describe('mdast-lint with generated nodes', function () {
|
||||
fs.readdirSync(join(__dirname, 'fixtures')).forEach(function (filePath) {
|
||||
fs.readdirSync(join(__dirname, 'fixtures'))
|
||||
.filter(function (filePath) {
|
||||
return filePath.charAt(0) !== '.';
|
||||
})
|
||||
.forEach(function (filePath) {
|
||||
it(filePath, function () {
|
||||
var messages = process(filePath, null, null, true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user