Skip to content

Commit c58ba78

Browse files
committed
test(smoke): add some smoke tests
1 parent b32842d commit c58ba78

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import * as smoke from './smoke';
2+
3+
smoke.suite('Smoke → CaseSensitiveMatch', [
4+
{
5+
pattern: 'fixtures/File.md'
6+
},
7+
{
8+
pattern: 'fixtures/File.md',
9+
globOptions: { nocase: true },
10+
fgOptions: { caseSensitiveMatch: false }
11+
}
12+
]);
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import * as smoke from './smoke';
2+
3+
smoke.suite('Smoke → MarkDirectories', [
4+
{
5+
pattern: 'fixtures/**/*',
6+
globOptions: { mark: true },
7+
fgOptions: { markDirectories: true }
8+
}
9+
]);
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import * as smoke from './smoke';
2+
3+
smoke.suite('Smoke → MatchBase', [
4+
{
5+
broken: true,
6+
issue: 199,
7+
pattern: '*.md',
8+
cwd: 'fixtures',
9+
globOptions: { matchBase: true },
10+
fgOptions: { matchBase: true }
11+
}
12+
]);

0 commit comments

Comments
 (0)