Skip to content

fix: escape special characters in glob patterns #601

fix: escape special characters in glob patterns

fix: escape special characters in glob patterns #601

Triggered via pull request July 13, 2025 14:28
Status Failure
Total duration 1m 5s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 notices
test (lts/*, macos-latest)
Process completed with exit code 1.
test/search.test.ts > search > should work: test/search.test.ts#L21
TypeError: .toMatch() expects to receive a string, but got object ❯ test/search.test.ts:21:31
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
test/search.test.ts > search > should work: test/search.test.ts#L21
TypeError: .toMatch() expects to receive a string, but got object ❯ test/search.test.ts:21:31
test (lts/*, windows-latest)
Process completed with exit code 1.
test/search.test.ts > search > should with namespace & collapse: test/search.test.ts#L45
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:45:43
test/search.test.ts > search > should with namespace: test/search.test.ts#L33
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:33:43
test/search.test.ts > search > should work: test/search.test.ts#L21
TypeError: .toMatch() expects to receive a string, but got object ❯ test/search.test.ts:21:31
test/dts.test.ts > dts > generate components with prefix: test/dts.test.ts#L208
Error: Snapshot `dts > generate components with prefix 1` mismatched - Expected + Received @@ -6,24 +6,10 @@ export {} /* prettier-ignore */ declare module 'vue' { export interface GlobalComponents { - CustomPrefixAvatar: typeof import('./examples/vite-vue3/src/components/global/avatar.vue')['default'] - CustomPrefixBook: typeof import('./examples/vite-vue3/src/components/book/index.vue')['default'] - CustomPrefixButton: typeof import('./examples/vite-vue3/src/components/ui/button.vue')['default'] - CustomPrefixCheckbox: typeof import('./examples/vite-vue3/src/components/ui/nested/checkbox.vue')['default'] - CustomPrefixCollapseFolderAndComponentFromRoot: typeof import('./examples/vite-vue3/src/components/collapse/collapseFolder/CollapseFolderAndComponentFromRoot.vue')['default'] - CustomPrefixComponentA: typeof import('./examples/vite-vue3/src/components/ComponentA.vue')['default'] - CustomPrefixComponentAsync: typeof import('./examples/vite-vue3/src/components/ComponentAsync.vue')['default'] - CustomPrefixComponentB: typeof import('./examples/vite-vue3/src/components/ComponentB.vue')['default'] - CustomPrefixComponentC: typeof import('./examples/vite-vue3/src/components/component-c.vue')['default'] - CustomPrefixComponentD: typeof import('./examples/vite-vue3/src/components/ComponentD.vue')['default'] - CustomPrefixFolderAndComponentPartially: typeof import('./examples/vite-vue3/src/components/collapse/collapseFolder/FolderAndComponentPartially.vue')['default'] - CustomPrefixKebabCaseCollapseFile: typeof import('./examples/vite-vue3/src/components/kebab-case/kebab-case-collapse/KebabCaseCollapseFile.vue')['default'] - CustomPrefixKebabCaseFile: typeof import('./examples/vite-vue3/src/components/kebab-case/KebabCaseFile.vue')['default'] - CustomPrefixRecursive: typeof import('./examples/vite-vue3/src/components/Recursive.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] TestComp: typeof import('test/component/TestComp')['default'] } export interface GlobalDirectives { ❯ test/dts.test.ts:208:26
test (lts/*, macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
test (lts/*, macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy