Skip to content

Commit 6253ad4

Browse files
committed
test(smoke): smoke test for mrmlnc#290
1 parent 512d570 commit 6253ad4

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

src/tests/smoke/directories.smoke.ts

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
import * as smoke from './smoke';
2+
3+
smoke.suite('Smoke → Directories', [
4+
{
5+
pattern: 'fixtures/*',
6+
globOptions: { },
7+
fgOptions: { onlyDirectories: true }
8+
},
9+
{
10+
pattern: 'fixtures/**',
11+
globOptions: { },
12+
fgOptions: { onlyDirectories: true }
13+
},
14+
{
15+
pattern: 'fixtures/**/*',
16+
globOptions: { },
17+
fgOptions: { onlyDirectories: true }
18+
},
19+
{
20+
pattern: 'fixtures/*/',
21+
globOptions: { },
22+
fgOptions: { onlyDirectories: true }
23+
},
24+
{
25+
pattern: 'fixtures/**/',
26+
globOptions: { },
27+
fgOptions: { onlyDirectories: true }
28+
},
29+
{
30+
pattern: 'fixtures/**/*/',
31+
globOptions: { },
32+
fgOptions: { onlyDirectories: true }
33+
}
34+
]);
35+
36+
smoke.suite('Smoke → Directories (cwd)', [
37+
{
38+
pattern: '*',
39+
cwd: 'fixtures',
40+
globOptions: { },
41+
fgOptions: { onlyDirectories: true }
42+
},
43+
{
44+
pattern: '**',
45+
cwd: 'fixtures',
46+
globOptions: { },
47+
fgOptions: { onlyDirectories: true }
48+
},
49+
{
50+
pattern: '**/*',
51+
cwd: 'fixtures',
52+
globOptions: { },
53+
fgOptions: { onlyDirectories: true }
54+
},
55+
{
56+
pattern: '*/',
57+
cwd: 'fixtures',
58+
globOptions: { },
59+
fgOptions: { onlyDirectories: true }
60+
},
61+
{
62+
pattern: '**/',
63+
cwd: 'fixtures',
64+
globOptions: { },
65+
fgOptions: { onlyDirectories: true }
66+
},
67+
{
68+
pattern: '**/*/',
69+
cwd: 'fixtures',
70+
globOptions: { },
71+
fgOptions: { onlyDirectories: true }
72+
}
73+
]);

0 commit comments

Comments
 (0)