Skip to content

matchBase option does not work #199

@mrmlnc

Description

@mrmlnc

Actual behavior

FIXTURES                         NODE_GLOB  FAST_GLOB
-------------------------------  ---------  ---------
file.md                          +          +
first/file.md                    +          -
first/nested/directory/file.md   +          -
first/nested/file.md             +          -
second/file.md                   +          -
second/nested/directory/file.md  +          -
second/nested/file.md            +          -

Code sample

import * as smoke from './smoke';

smoke.suite('Smoke → MatchBase', [
	{
		debug: true,
		pattern: '*.md',
		cwd: 'fixtures',
		globOptions: { matchBase: true },
		fgOptions: { matchBase: true }
	}
]);

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions