-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathtest-glob.js-TAP.test.js
More file actions
85 lines (75 loc) · 1.97 KB
/
Copy pathtest-glob.js-TAP.test.js
File metadata and controls
85 lines (75 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/glob.js TAP allows negated exclude patterns > must match snapshot 1`] = `
Array [
"file1.js",
]
`
exports[`test/glob.js TAP allows negated include patterns > must match snapshot 1`] = `
Array [
"file1.js",
]
`
exports[`test/glob.js TAP allows node_modules folder to be included, if !node_modules is explicitly provided > must match snapshot 1`] = `
Array [
"file1.js",
"file2.js",
"node_modules/something/index.js",
"node_modules/something/other.js",
]
`
exports[`test/glob.js TAP allows specific node_modules folder to be included, if !node_modules is explicitly provided > must match snapshot 1`] = `
Array [
"file1.js",
"file2.js",
"node_modules/something/other.js",
]
`
exports[`test/glob.js TAP applies exclude rule ahead of include rule > must match snapshot 1`] = `
Array [
"file2.js",
]
`
exports[`test/glob.js TAP handles case insensitive matches on windows > must match snapshot 1`] = `
Array [
"file1.js",
"file2.js",
]
`
exports[`test/glob.js TAP should exclude the node_modules folder by default > absolute constructor cwd 1`] = `
Array [
"file1.js",
"file2.js",
]
`
exports[`test/glob.js TAP should exclude the node_modules folder by default > js and json files 1`] = `
Array [
"file1.js",
"file2.js",
"package.json",
]
`
exports[`test/glob.js TAP should exclude the node_modules folder by default > js files 1`] = `
Array [
"file1.js",
"file2.js",
]
`
exports[`test/glob.js TAP should exclude the node_modules folder by default > json files 1`] = `
Array [
"package.json",
]
`
exports[`test/glob.js TAP should exclude the node_modules folder by default > no extension 1`] = `
Array [
".nycrc",
"file1.js",
"file2.js",
"package.json",
]
`