Skip to content

Commit

Permalink
test(smoke): add some smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmlnc committed Jun 10, 2019
1 parent b32842d commit c58ba78
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/tests/smoke/case-sensitive-match.smoke.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import * as smoke from './smoke';

smoke.suite('Smoke → CaseSensitiveMatch', [
{
pattern: 'fixtures/File.md'
},
{
pattern: 'fixtures/File.md',
globOptions: { nocase: true },
fgOptions: { caseSensitiveMatch: false }
}
]);
9 changes: 9 additions & 0 deletions src/tests/smoke/mark-directories.smoke.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import * as smoke from './smoke';

smoke.suite('Smoke → MarkDirectories', [
{
pattern: 'fixtures/**/*',
globOptions: { mark: true },
fgOptions: { markDirectories: true }
}
]);
12 changes: 12 additions & 0 deletions src/tests/smoke/match-base.smoke.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import * as smoke from './smoke';

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

0 comments on commit c58ba78

Please sign in to comment.