feat: add excludeNames option #498
Annotations
12 errors
test/search.test.ts > search > should work:
test/search.test.ts#L21
Error: Snapshot `search > should work 1` mismatched
- Expected
+ Received
- [
- {
- "as": "Avatar",
- "from": "src/components/global/avatar.vue",
- },
- {
- "as": "Book",
- "from": "src/components/book/index.vue",
- },
- {
- "as": "Button",
- "from": "src/components/ui/button.vue",
- },
- {
- "as": "Checkbox",
- "from": "src/components/ui/nested/checkbox.vue",
- },
- {
- "as": "CollapseFolderAndComponentFromRoot",
- "from": "src/components/collapse/collapseFolder/CollapseFolderAndComponentFromRoot.vue",
- },
- {
- "as": "ComponentA",
- "from": "src/components/ComponentA.vue",
- },
- {
- "as": "ComponentAsync",
- "from": "src/components/ComponentAsync.vue",
- },
- {
- "as": "ComponentB",
- "from": "src/components/ComponentB.vue",
- },
- {
- "as": "ComponentC",
- "from": "src/components/component-c.vue",
- },
- {
- "as": "ComponentD",
- "from": "src/components/ComponentD.vue",
- },
- {
- "as": "FolderAndComponentPartially",
- "from": "src/components/collapse/collapseFolder/FolderAndComponentPartially.vue",
- },
- {
- "as": "KebabCaseCollapseFile",
- "from": "src/components/kebab-case/kebab-case-collapse/KebabCaseCollapseFile.vue",
- },
- {
- "as": "KebabCaseFile",
- "from": "src/components/kebab-case/KebabCaseFile.vue",
- },
- {
- "as": "Recursive",
- "from": "src/components/Recursive.vue",
- },
- ]
+ []
❯ test/search.test.ts:21:43
|
test/search.test.ts > search > should with namespace:
test/search.test.ts#L32
Error: Snapshot `search > should with namespace 1` mismatched
- Expected
+ Received
- [
- {
- "as": "Avatar",
- "from": "src/components/global/avatar.vue",
- },
- {
- "as": "Book",
- "from": "src/components/book/index.vue",
- },
- {
- "as": "CollapseCollapseFolderCollapseFolderAndComponentFromRoot",
- "from": "src/components/collapse/collapseFolder/CollapseFolderAndComponentFromRoot.vue",
- },
- {
- "as": "CollapseCollapseFolderFolderAndComponentPartially",
- "from": "src/components/collapse/collapseFolder/FolderAndComponentPartially.vue",
- },
- {
- "as": "ComponentA",
- "from": "src/components/ComponentA.vue",
- },
- {
- "as": "ComponentAsync",
- "from": "src/components/ComponentAsync.vue",
- },
- {
- "as": "ComponentB",
- "from": "src/components/ComponentB.vue",
- },
- {
- "as": "ComponentC",
- "from": "src/components/component-c.vue",
- },
- {
- "as": "ComponentD",
- "from": "src/components/ComponentD.vue",
- },
- {
- "as": "KebabCaseKebabCaseCollapseKebabCaseCollapseFile",
- "from": "src/components/kebab-case/kebab-case-collapse/KebabCaseCollapseFile.vue",
- },
- {
- "as": "KebabCaseKebabCaseFile",
- "from": "src/components/kebab-case/KebabCaseFile.vue",
- },
- {
- "as": "Recursive",
- "from": "src/components/Recursive.vue",
- },
- {
- "as": "UiButton",
- "from": "src/components/ui/button.vue",
- },
- {
- "as": "UiNestedCheckbox",
- "from": "src/components/ui/nested/checkbox.vue",
- },
- ]
+ []
❯ test/search.test.ts:32:43
|
test/search.test.ts > search > should with namespace & collapse:
test/search.test.ts#L44
Error: Snapshot `search > should with namespace & collapse 1` mismatched
- Expected
+ Received
- [
- {
- "as": "Avatar",
- "from": "src/components/global/avatar.vue",
- },
- {
- "as": "Book",
- "from": "src/components/book/index.vue",
- },
- {
- "as": "CollapseFolderAndComponentFromRoot",
- "from": "src/components/collapse/collapseFolder/CollapseFolderAndComponentFromRoot.vue",
- },
- {
- "as": "CollapseFolderAndComponentPartially",
- "from": "src/components/collapse/collapseFolder/FolderAndComponentPartially.vue",
- },
- {
- "as": "ComponentA",
- "from": "src/components/ComponentA.vue",
- },
- {
- "as": "ComponentAsync",
- "from": "src/components/ComponentAsync.vue",
- },
- {
- "as": "ComponentB",
- "from": "src/components/ComponentB.vue",
- },
- {
- "as": "ComponentC",
- "from": "src/components/component-c.vue",
- },
- {
- "as": "ComponentD",
- "from": "src/components/ComponentD.vue",
- },
- {
- "as": "KebabCaseCollapseFile",
- "from": "src/components/kebab-case/kebab-case-collapse/KebabCaseCollapseFile.vue",
- },
- {
- "as": "KebabCaseFile",
- "from": "src/components/kebab-case/KebabCaseFile.vue",
- },
- {
- "as": "Recursive",
- "from": "src/components/Recursive.vue",
- },
- {
- "as": "UiButton",
- "from": "src/components/ui/button.vue",
- },
- {
- "as": "UiNestedCheckbox",
- "from": "src/components/ui/nested/checkbox.vue",
- },
- ]
+ []
❯ test/search.test.ts:44:43
|
test (lts/*, macos-latest)
Process completed with exit code 1.
|
test/search.test.ts > search > should work:
test/search.test.ts#L21
Error: Snapshot `search > should work 1` mismatched
- Expected
+ Received
- [
- {
- "as": "Avatar",
- "from": "src/components/global/avatar.vue",
- },
- {
- "as": "Book",
- "from": "src/components/book/index.vue",
- },
- {
- "as": "Button",
- "from": "src/components/ui/button.vue",
- },
- {
- "as": "Checkbox",
- "from": "src/components/ui/nested/checkbox.vue",
- },
- {
- "as": "CollapseFolderAndComponentFromRoot",
- "from": "src/components/collapse/collapseFolder/CollapseFolderAndComponentFromRoot.vue",
- },
- {
- "as": "ComponentA",
- "from": "src/components/ComponentA.vue",
- },
- {
- "as": "ComponentAsync",
- "from": "src/components/ComponentAsync.vue",
- },
- {
- "as": "ComponentB",
- "from": "src/components/ComponentB.vue",
- },
- {
- "as": "ComponentC",
- "from": "src/components/component-c.vue",
- },
- {
- "as": "ComponentD",
- "from": "src/components/ComponentD.vue",
- },
- {
- "as": "FolderAndComponentPartially",
- "from": "src/components/collapse/collapseFolder/FolderAndComponentPartially.vue",
- },
- {
- "as": "KebabCaseCollapseFile",
- "from": "src/components/kebab-case/kebab-case-collapse/KebabCaseCollapseFile.vue",
- },
- {
- "as": "KebabCaseFile",
- "from": "src/components/kebab-case/KebabCaseFile.vue",
- },
- {
- "as": "Recursive",
- "from": "src/components/Recursive.vue",
- },
- ]
+ []
❯ test/search.test.ts:21:43
|
test/search.test.ts > search > should with namespace:
test/search.test.ts#L32
Error: Snapshot `search > should with namespace 1` mismatched
- Expected
+ Received
- [
- {
- "as": "Avatar",
- "from": "src/components/global/avatar.vue",
- },
- {
- "as": "Book",
- "from": "src/components/book/index.vue",
- },
- {
- "as": "CollapseCollapseFolderCollapseFolderAndComponentFromRoot",
- "from": "src/components/collapse/collapseFolder/CollapseFolderAndComponentFromRoot.vue",
- },
- {
- "as": "CollapseCollapseFolderFolderAndComponentPartially",
- "from": "src/components/collapse/collapseFolder/FolderAndComponentPartially.vue",
- },
- {
- "as": "ComponentA",
- "from": "src/components/ComponentA.vue",
- },
- {
- "as": "ComponentAsync",
- "from": "src/components/ComponentAsync.vue",
- },
- {
- "as": "ComponentB",
- "from": "src/components/ComponentB.vue",
- },
- {
- "as": "ComponentC",
- "from": "src/components/component-c.vue",
- },
- {
- "as": "ComponentD",
- "from": "src/components/ComponentD.vue",
- },
- {
- "as": "KebabCaseKebabCaseCollapseKebabCaseCollapseFile",
- "from": "src/components/kebab-case/kebab-case-collapse/KebabCaseCollapseFile.vue",
- },
- {
- "as": "KebabCaseKebabCaseFile",
- "from": "src/components/kebab-case/KebabCaseFile.vue",
- },
- {
- "as": "Recursive",
- "from": "src/components/Recursive.vue",
- },
- {
- "as": "UiButton",
- "from": "src/components/ui/button.vue",
- },
- {
- "as": "UiNestedCheckbox",
- "from": "src/components/ui/nested/checkbox.vue",
- },
- ]
+ []
❯ test/search.test.ts:32:43
|
test/search.test.ts > search > should with namespace & collapse:
test/search.test.ts#L44
Error: Snapshot `search > should with namespace & collapse 1` mismatched
- Expected
+ Received
- [
- {
- "as": "Avatar",
- "from": "src/components/global/avatar.vue",
- },
- {
- "as": "Book",
- "from": "src/components/book/index.vue",
- },
- {
- "as": "CollapseFolderAndComponentFromRoot",
- "from": "src/components/collapse/collapseFolder/CollapseFolderAndComponentFromRoot.vue",
- },
- {
- "as": "CollapseFolderAndComponentPartially",
- "from": "src/components/collapse/collapseFolder/FolderAndComponentPartially.vue",
- },
- {
- "as": "ComponentA",
- "from": "src/components/ComponentA.vue",
- },
- {
- "as": "ComponentAsync",
- "from": "src/components/ComponentAsync.vue",
- },
- {
- "as": "ComponentB",
- "from": "src/components/ComponentB.vue",
- },
- {
- "as": "ComponentC",
- "from": "src/components/component-c.vue",
- },
- {
- "as": "ComponentD",
- "from": "src/components/ComponentD.vue",
- },
- {
- "as": "KebabCaseCollapseFile",
- "from": "src/components/kebab-case/kebab-case-collapse/KebabCaseCollapseFile.vue",
- },
- {
- "as": "KebabCaseFile",
- "from": "src/components/kebab-case/KebabCaseFile.vue",
- },
- {
- "as": "Recursive",
- "from": "src/components/Recursive.vue",
- },
- {
- "as": "UiButton",
- "from": "src/components/ui/button.vue",
- },
- {
- "as": "UiNestedCheckbox",
- "from": "src/components/ui/nested/checkbox.vue",
- },
- ]
+ []
❯ test/search.test.ts:44:43
|
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
|
test/search.test.ts > search > should work:
test/search.test.ts#L21
Error: Snapshot `search > should work 1` mismatched
- Expected
+ Received
- [
- {
- "as": "Avatar",
- "from": "src/components/global/avatar.vue",
- },
- {
- "as": "Book",
- "from": "src/components/book/index.vue",
- },
- {
- "as": "Button",
- "from": "src/components/ui/button.vue",
- },
- {
- "as": "Checkbox",
- "from": "src/components/ui/nested/checkbox.vue",
- },
- {
- "as": "CollapseFolderAndComponentFromRoot",
- "from": "src/components/collapse/collapseFolder/CollapseFolderAndComponentFromRoot.vue",
- },
- {
- "as": "ComponentA",
- "from": "src/components/ComponentA.vue",
- },
- {
- "as": "ComponentAsync",
- "from": "src/components/ComponentAsync.vue",
- },
- {
- "as": "ComponentB",
- "from": "src/components/ComponentB.vue",
- },
- {
- "as": "ComponentC",
- "from": "src/components/component-c.vue",
- },
- {
- "as": "ComponentD",
- "from": "src/components/ComponentD.vue",
- },
- {
- "as": "FolderAndComponentPartially",
- "from": "src/components/collapse/collapseFolder/FolderAndComponentPartially.vue",
- },
- {
- "as": "KebabCaseCollapseFile",
- "from": "src/components/kebab-case/kebab-case-collapse/KebabCaseCollapseFile.vue",
- },
- {
- "as": "KebabCaseFile",
- "from": "src/components/kebab-case/KebabCaseFile.vue",
- },
- {
- "as": "Recursive",
- "from": "src/components/Recursive.vue",
- },
- ]
+ []
❯ test/search.test.ts:21:43
|
test/search.test.ts > search > should with namespace:
test/search.test.ts#L32
Error: Snapshot `search > should with namespace 1` mismatched
- Expected
+ Received
- [
- {
- "as": "Avatar",
- "from": "src/components/global/avatar.vue",
- },
- {
- "as": "Book",
- "from": "src/components/book/index.vue",
- },
- {
- "as": "CollapseCollapseFolderCollapseFolderAndComponentFromRoot",
- "from": "src/components/collapse/collapseFolder/CollapseFolderAndComponentFromRoot.vue",
- },
- {
- "as": "CollapseCollapseFolderFolderAndComponentPartially",
- "from": "src/components/collapse/collapseFolder/FolderAndComponentPartially.vue",
- },
- {
- "as": "ComponentA",
- "from": "src/components/ComponentA.vue",
- },
- {
- "as": "ComponentAsync",
- "from": "src/components/ComponentAsync.vue",
- },
- {
- "as": "ComponentB",
- "from": "src/components/ComponentB.vue",
- },
- {
- "as": "ComponentC",
- "from": "src/components/component-c.vue",
- },
- {
- "as": "ComponentD",
- "from": "src/components/ComponentD.vue",
- },
- {
- "as": "KebabCaseKebabCaseCollapseKebabCaseCollapseFile",
- "from": "src/components/kebab-case/kebab-case-collapse/KebabCaseCollapseFile.vue",
- },
- {
- "as": "KebabCaseKebabCaseFile",
- "from": "src/components/kebab-case/KebabCaseFile.vue",
- },
- {
- "as": "Recursive",
- "from": "src/components/Recursive.vue",
- },
- {
- "as": "UiButton",
- "from": "src/components/ui/button.vue",
- },
- {
- "as": "UiNestedCheckbox",
- "from": "src/components/ui/nested/checkbox.vue",
- },
- ]
+ []
❯ test/search.test.ts:32:43
|
test/search.test.ts > search > should with namespace & collapse:
test/search.test.ts#L44
Error: Snapshot `search > should with namespace & collapse 1` mismatched
- Expected
+ Received
- [
- {
- "as": "Avatar",
- "from": "src/components/global/avatar.vue",
- },
- {
- "as": "Book",
- "from": "src/components/book/index.vue",
- },
- {
- "as": "CollapseFolderAndComponentFromRoot",
- "from": "src/components/collapse/collapseFolder/CollapseFolderAndComponentFromRoot.vue",
- },
- {
- "as": "CollapseFolderAndComponentPartially",
- "from": "src/components/collapse/collapseFolder/FolderAndComponentPartially.vue",
- },
- {
- "as": "ComponentA",
- "from": "src/components/ComponentA.vue",
- },
- {
- "as": "ComponentAsync",
- "from": "src/components/ComponentAsync.vue",
- },
- {
- "as": "ComponentB",
- "from": "src/components/ComponentB.vue",
- },
- {
- "as": "ComponentC",
- "from": "src/components/component-c.vue",
- },
- {
- "as": "ComponentD",
- "from": "src/components/ComponentD.vue",
- },
- {
- "as": "KebabCaseCollapseFile",
- "from": "src/components/kebab-case/kebab-case-collapse/KebabCaseCollapseFile.vue",
- },
- {
- "as": "KebabCaseFile",
- "from": "src/components/kebab-case/KebabCaseFile.vue",
- },
- {
- "as": "Recursive",
- "from": "src/components/Recursive.vue",
- },
- {
- "as": "UiButton",
- "from": "src/components/ui/button.vue",
- },
- {
- "as": "UiNestedCheckbox",
- "from": "src/components/ui/nested/checkbox.vue",
- },
- ]
+ []
❯ test/search.test.ts:44:43
|
test (lts/*, windows-latest)
Process completed with exit code 1.
|