We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b9c58 commit ba9c267Copy full SHA for ba9c267
test.js
@@ -214,3 +214,25 @@ test('respects gitignore option false - sync', t => {
214
const actual = m.sync('*', {gitignore: false, onlyFiles: false});
215
t.true(actual.indexOf('node_modules') > -1);
216
});
217
+
218
+// https://github.com/sindresorhus/globby/issues/97
219
+test.failing('`{extension: false}` and `expandDirectories.extensions` option', t => {
220
+ t.deepEqual(
221
+ m.sync(tmp, {
222
+ extension: false,
223
+ expandDirectories: {
224
+ extensions: [
225
+ 'md',
226
+ 'tmp'
227
+ ]
228
+ }
229
+ }),
230
+ [
231
+ 'a.tmp',
232
+ 'b.tmp',
233
+ 'c.tmp',
234
+ 'd.tmp',
235
+ 'e.tmp'
236
237
+ );
238
+});
0 commit comments