Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matchBase option does not work #199

Closed
mrmlnc opened this issue Jun 9, 2019 · 0 comments
Closed

matchBase option does not work #199

mrmlnc opened this issue Jun 9, 2019 · 0 comments
Assignees
Milestone

Comments

@mrmlnc
Copy link
Owner

mrmlnc commented Jun 9, 2019

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 }
	}
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant