We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509f25e commit 1fccbb8Copy full SHA for 1fccbb8
test/search.test.ts
@@ -61,13 +61,15 @@ describe('search', () => {
61
const ctx = new Context({
62
dirs: [
63
'src/components',
64
- '!src/components/book',
+ '!src/components/book/**',
65
],
66
})
67
ctx.setRoot(root)
68
ctx.searchGlob()
69
70
- expect(cleanup(ctx.componentNameMap).map(i => i.as)).not.toEqual(expect.arrayContaining(['Book']))
+ expect(cleanup(ctx.componentNameMap).map(i => i.as))
71
+ .not
72
+ .contain('Book')
73
74
75
it('should excludeNames', () => {
0 commit comments