File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,8 @@ describe('sort', () => {
36
36
]
37
37
` )
38
38
39
- // simulate the watcher adding a components
39
+ // simulate the watcher adding a component
40
40
ctx . addComponents ( resolve ( root , 'src/components/book/index.vue' ) . replace ( / \\ / g, '/' ) )
41
- ctx . searchGlob ( )
42
41
43
42
expect ( cleanup ( ctx . componentNameMap ) ) . toMatchInlineSnapshot ( `
44
43
[
@@ -77,10 +76,9 @@ describe('sort', () => {
77
76
]
78
77
` )
79
78
80
- // simulate the watcher adding a components
79
+ // simulate the watcher adding some components
81
80
ctx . addComponents ( resolve ( root , 'src/components/ui/button.vue' ) . replace ( / \\ / g, '/' ) )
82
81
ctx . addComponents ( resolve ( root , 'src/components/ui/nested/checkbox.vue' ) . replace ( / \\ / g, '/' ) )
83
- ctx . searchGlob ( )
84
82
85
83
expect ( cleanup ( ctx . componentNameMap ) ) . toMatchInlineSnapshot ( `
86
84
[
You can’t perform that action at this time.
0 commit comments