Skip to content

fix: vue doesn't show inspector with webpack#511

Merged
zh-lx merged 1 commit into
mainfrom
fix/webpack-vue
Apr 1, 2026
Merged

fix: vue doesn't show inspector with webpack#511
zh-lx merged 1 commit into
mainfrom
fix/webpack-vue

Conversation

@zh-lx
Copy link
Copy Markdown
Owner

@zh-lx zh-lx commented Apr 1, 2026

vue doesn't show inspector with webpack

@qodo-free-for-open-source-projects
Copy link
Copy Markdown

Review Summary by Qodo

Fix Vue inspector with webpack module interop

🐞 Bug fix

Grey Divider

Walkthroughs

Description
• Add resolveVueCompilerDom() function to handle webpack module interop
• Support both named and default exports from @vue/compiler-dom
• Fix Vue inspector not showing with webpack bundler
• Add test coverage for compiler-dom export resolution
Diagram
flowchart LR
  A["Webpack Module Import"] -->|"resolveVueCompilerDom()"| B["Extract parse/transform"]
  B -->|"Named or default exports"| C["VueCompilerDom object"]
  C -->|"getVueCompilerDom()"| D["Vue transformation"]
Loading

Grey Divider

File Changes

1. packages/core/src/server/transform/transform-vue.ts 🐞 Bug fix +25/-7

Add webpack module interop resolver for Vue compiler

• Add new resolveVueCompilerDom() function to handle module interop for webpack
• Support extracting parse and transform from both named and default exports
• Update getVueCompilerDom() to use the new resolver function
• Add validation to ensure both exports are functions
• Minor formatting improvements for code style consistency

packages/core/src/server/transform/transform-vue.ts


2. packages/core/types/server/transform/transform-vue.d.ts 📝 Documentation +3/-0

Add TypeScript declarations for resolver function

• Add type definition for VueCompilerDom type
• Export resolveVueCompilerDom() function declaration
• Update type declarations to match implementation

packages/core/types/server/transform/transform-vue.d.ts


3. test/core/server/transform/transform-vue.test.ts 🧪 Tests +21/-1

Add tests for compiler-dom export resolution

• Add new test suite for compiler-dom interop scenarios
• Test resolveVueCompilerDom() with default namespace exports
• Verify correct extraction of parse and transform functions
• Update imports to include new resolver function

test/core/server/transform/transform-vue.test.ts


Grey Divider

Qodo Logo

@qodo-free-for-open-source-projects
Copy link
Copy Markdown

qodo-free-for-open-source-projects Bot commented Apr 1, 2026

Code Review by Qodo

🐞 Bugs (2) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider


Remediation recommended

1. Rejected promise cached 🐞 Bug ☼ Reliability
Description
If resolveVueCompilerDom throws (unexpected module shape), getVueCompilerDom caches a rejected
vueCompilerDomPromise, causing all subsequent transformVue() calls to fail until process
restart. This creates a permanent failure mode from a single transient/first-call error.
Code

packages/core/src/server/transform/transform-vue.ts[R37-44]

async function getVueCompilerDom(): Promise<VueCompilerDom> {
  if (!vueCompilerDomPromise) {
    vueCompilerDomPromise = import(
      /* @vite-ignore */
      VUE_COMPILER_DOM
-    ).then(({ parse, transform }) => ({ parse, transform }));
+    ).then((mod) => resolveVueCompilerDom(mod));
  }
  return vueCompilerDomPromise;
Evidence
getVueCompilerDom() writes to the module-scoped vueCompilerDomPromise only once and never clears
it; if resolveVueCompilerDom() throws during the .then(...), the stored promise becomes rejected
and is returned forever on subsequent calls.

packages/core/src/server/transform/transform-vue.ts[24-45]
packages/core/src/server/transform/transform-vue.ts[26-35]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
`getVueCompilerDom()` caches `vueCompilerDomPromise` even when the dynamic import/interop resolution fails. If `resolveVueCompilerDom()` throws, the cached promise stays rejected for the remainder of the process lifetime.

### Issue Context
This PR adds `resolveVueCompilerDom()` which can throw when `parse`/`transform` are not found. Because `vueCompilerDomPromise` is module-scoped and only set once, a single failure can permanently disable Vue transforms.

### Fix Focus Areas
- packages/core/src/server/transform/transform-vue.ts[37-45]
- packages/core/src/server/transform/transform-vue.ts[26-35]

### Implementation notes
Wrap the import chain with a `.catch` that clears the cache before rethrowing, e.g.:
```ts
vueCompilerDomPromise = import(VUE_COMPILER_DOM)
 .then(resolveVueCompilerDom)
 .catch((e) => {
   vueCompilerDomPromise = undefined;
   throw e;
 });
```
This allows a later call to retry (useful if the first call happens during an incomplete dependency state or a bundler edge case).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Interop errors swallowed 🐞 Bug ✧ Quality
Description
resolveVueCompilerDom now throws a clear interop error, but the upstream transform pipeline
catches errors and returns original content without logging, making “inspector not showing” failures
hard to diagnose. This can mask the real reason Vue instrumentation is skipped.
Code

packages/core/src/server/transform/transform-vue.ts[R30-32]

+  if (typeof parse !== 'function' || typeof transform !== 'function') {
+    throw new Error('Failed to load @vue/compiler-dom parse/transform exports');
+  }
Evidence
The new code explicitly throws on missing exports, but transformCode wraps Vue transforms in a
broad catch that returns content without logging/telemetry, so the failure becomes silent.

packages/core/src/server/transform/transform-vue.ts[30-32]
packages/core/src/server/transform/index.ts[49-61]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
Errors from Vue transformation (including the new explicit `resolveVueCompilerDom()` interop failure) are swallowed by `transformCode()` with no logs, making production/debug diagnosis difficult when instrumentation is missing.

### Issue Context
The PR improves module interop by throwing a descriptive error when compiler-dom exports can't be resolved. Without logging, that new clarity is lost because the error is suppressed.

### Fix Focus Areas
- packages/core/src/server/transform/index.ts[49-61]
- packages/core/src/server/transform/transform-vue.ts[30-32]

### Implementation notes
In the `catch (error)` in `transformCode`, emit a debug log (or gated log via env flag) that includes `fileType`, `filePath`, and `error.message`, then fall back to returning `content` as today. Keep it non-noisy by guarding with an env var (e.g. `process.env.CODE_INSPECTOR_DEBUG`).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@qodo-free-for-open-source-projects
Copy link
Copy Markdown

CI Feedback 🧐

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: test

Failed stage: Run tests with coverage [❌]

Failed test name: createServer > request handling > should handle request with file, line, and column parameters

Failure summary:

The GitHub Action failed because pnpm test (Vitest) reported 6 failing tests, causing the command to
exit with code 1.

Failures:
- test/esbuild/index.test.ts (EsbuildCodeInspectorPlugin > onLoad handler > should return
code string for excluded files) failed at test/esbuild/index.test.ts:126:22:
- The test expected
the onLoad result to be the string const excluded = 1;
- But the implementation returned an object
{ contents: "const excluded = 1;", loader: "tsx" }.
- test/core/server/server/create-server.test.ts
(createServer > request handling) has 5 failing cases (first failure at
test/core/server/server/create-server.test.ts:85:25):
- Multiple assertions expected the launchIDE
spy to be called (or called with certain args), but it was never called (Number of calls: 0), so
request handling did not trigger launchIDE as the tests expect (also failing at lines 103:27,
180:25, 205:25, 229:25).

Relevant error logs:
1:  ##[group]Runner Image Provisioner
2:  Hosted Compute Agent
...

196:  Progress: resolved 4193, reused 0, downloaded 2076, added 2196
197:  Progress: resolved 4193, reused 0, downloaded 2199, added 2318
198:  Progress: resolved 4193, reused 0, downloaded 2215, added 2335
199:  Progress: resolved 4193, reused 0, downloaded 2352, added 2476
200:  Progress: resolved 4193, reused 0, downloaded 2548, added 2673
201:  Progress: resolved 4193, reused 0, downloaded 2551, added 2674
202:  Progress: resolved 4193, reused 0, downloaded 2633, added 2762
203:  Progress: resolved 4193, reused 0, downloaded 2737, added 2868
204:  Progress: resolved 4193, reused 0, downloaded 2883, added 3020
205:  Progress: resolved 4193, reused 0, downloaded 3057, added 3197
206:  Progress: resolved 4193, reused 0, downloaded 3282, added 3420
207:  Progress: resolved 4193, reused 0, downloaded 3591, added 3735
208:  Progress: resolved 4193, reused 0, downloaded 3791, added 3938
209:  Progress: resolved 4193, reused 0, downloaded 3964, added 4112
210:  Progress: resolved 4193, reused 0, downloaded 4035, added 4190
211:  WARN  GET https://registry.npmjs.org/eslint-config-alloy/-/eslint-config-alloy-4.7.0.tgz error (ECONNRESET). Will retry in 10 seconds. 2 retries left.
212:  Progress: resolved 4193, reused 0, downloaded 4036, added 4190
...

431:  �[36;1mpnpm test�[0m
432:  shell: /usr/bin/bash -e {0}
433:  env:
434:  PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
435:  ##[endgroup]
436:  > code-inspector@0.0.1 test /home/runner/work/code-inspector/code-inspector
437:  > vitest run --coverage
438:  �[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
439:  �[7m�[1m�[36m RUN �[39m�[22m�[27m �[36mv2.1.4�[39m �[90m/home/runner/work/code-inspector/code-inspector�[39m
440:  �[2m      Coverage enabled with �[22m�[33mv8�[39m
441:  �[32m✓�[39m test/core/server/transform/transform-vue.test.ts �[2m (�[22m�[2m54 tests�[22m�[2m)�[22m�[90m 85�[2mms�[22m�[39m
442:  �[90mstderr�[2m | test/core/client/index/render.test.ts�[22m�[39m
443:  Lit is in dev mode. Not recommended for production! See https://lit.dev/msg/dev-mode for more information.
444:  �[32m✓�[39m test/core/client/index/render.test.ts �[2m (�[22m�[2m35 tests�[22m�[2m)�[22m�[33m 345�[2mms�[22m�[39m
445:  �[90mstderr�[2m | VirtualConsole.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45)�[22m�[39m
446:  Error: AggregateError
447:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
448:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
449:  at Request.emit (node:events:536:35)
450:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
451:  at ClientRequest.emit (node:events:524:28)
452:  at emitErrorEvent (node:_http_client:104:11)
453:  at Socket.socketErrorListener (node:_http_client:512:5)
454:  at Socket.emit (node:events:524:28)
455:  at emitErrorNT (node:internal/streams/destroy:170:8)
456:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
457:  �[32m✓�[39m test/core/server/use-client/get-code-with-web-component.test.ts �[2m (�[22m�[2m18 tests�[22m�[2m)�[22m�[90m 48�[2mms�[22m�[39m
...

519:  • Press shift + ⌥option + Z to see and change feature.
520:  • Current Feature: Locate Code
521:  �[90mstdout�[2m | test/core/client/index/handle-wheel.test.ts�[2m > �[22m�[2mhandleWheel�[2m > �[22m�[2mEdge Cases�[2m > �[22m�[2mshould not do anything when wheelThrottling is true�[22m�[39m
522:  [code-inspector-plugin]
523:  • Press and hold shift + ⌥option to use the feature.
524:  • Press shift + ⌥option + Z to see and change feature.
525:  • Current Feature: Locate Code
526:  �[90mstdout�[2m | test/core/client/index/handle-wheel.test.ts�[2m > �[22m�[2mhandleWheel�[2m > �[22m�[2mEdge Cases�[2m > �[22m�[2mshould not do anything when targetNode is not in composedPath�[22m�[39m
527:  [code-inspector-plugin]
528:  • Press and hold shift + ⌥option to use the feature.
529:  • Press shift + ⌥option + Z to see and change feature.
530:  • Current Feature: Locate Code
531:  �[32m✓�[39m test/core/client/index/handle-wheel.test.ts �[2m (�[22m�[2m11 tests�[22m�[2m)�[22m�[90m 112�[2mms�[22m�[39m
532:  �[32m✓�[39m test/core/shared/record-cache/set-project-record.test.ts �[2m (�[22m�[2m11 tests�[22m�[2m)�[22m�[90m 13�[2mms�[22m�[39m
533:  �[32m✓�[39m test/core/shared/record-cache/find-port.test.ts �[2m (�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 314�[2mms�[22m�[39m
534:  �[31m❯�[39m test/core/server/server/create-server.test.ts �[2m (�[22m�[2m18 tests�[22m �[2m|�[22m �[31m5 failed�[39m�[2m)�[22m�[90m 30�[2mms�[22m�[39m
535:  �[31m   �[31m�[31m createServer�[2m > �[22mrequest handling�[2m > �[22mshould handle request with file, line, and column parameters�[90m 9�[2mms�[22m�[31m�[39m
...

547:  Number of calls: �[1m0�[22m
548:  �[31m�[39m
549:  �[31m   �[31m�[31m createServer�[2m > �[22mrequest handling�[2m > �[22mshould decode URL-encoded file paths correctly�[90m 1�[2mms�[22m�[31m�[39m
550:  �[31m     → expected "spy" to be called with arguments: [ ObjectContaining{…} ]�[90m
551:  Received: 
552:  �[31m�[90m
553:  Number of calls: �[1m0�[22m
554:  �[31m�[39m
555:  �[31m   �[31m�[31m createServer�[2m > �[22mrequest handling�[2m > �[22mshould handle missing line and column parameters�[90m 5�[2mms�[22m�[31m�[39m
556:  �[31m     → expected "spy" to be called with arguments: [ ObjectContaining{…} ]�[90m
557:  Received: 
558:  �[31m�[90m
559:  Number of calls: �[1m0�[22m
560:  �[31m�[39m
561:  �[32m✓�[39m test/core/server/server/start-server.test.ts �[2m (�[22m�[2m7 tests�[22m�[2m)�[22m�[90m 82�[2mms�[22m�[39m
562:  �[31m❯�[39m test/esbuild/index.test.ts �[2m (�[22m�[2m11 tests�[22m �[2m|�[22m �[31m1 failed�[39m�[2m)�[22m�[90m 16�[2mms�[22m�[39m
563:  �[31m   �[31m�[31m EsbuildCodeInspectorPlugin�[2m > �[22monLoad handler�[2m > �[22mshould return code string for excluded files�[90m 6�[2mms�[22m�[31m�[39m
...

577:  �[90mstdout�[2m | test/core/client/index/show-notification.test.ts�[2m > �[22m�[2mshowNotification�[2m > �[22m�[2mNotification Creation�[2m > �[22m�[2mshould append notification to document body�[22m�[39m
578:  [code-inspector-plugin]
579:  • Press and hold shift + ⌥option to use the feature.
580:  • Press shift + ⌥option + Z to see and change feature.
581:  • Current Feature: Locate Code
582:  �[90mstdout�[2m | test/core/client/index/show-notification.test.ts�[2m > �[22m�[2mshowNotification�[2m > �[22m�[2mNotification Types�[2m > �[22m�[2mshould add success class by default�[22m�[39m
583:  [code-inspector-plugin]
584:  • Press and hold shift + ⌥option to use the feature.
585:  • Press shift + ⌥option + Z to see and change feature.
586:  • Current Feature: Locate Code
587:  �[90mstdout�[2m | test/core/client/index/show-notification.test.ts�[2m > �[22m�[2mshowNotification�[2m > �[22m�[2mNotification Types�[2m > �[22m�[2mshould add success class when type is success�[22m�[39m
588:  [code-inspector-plugin]
589:  • Press and hold shift + ⌥option to use the feature.
590:  • Press shift + ⌥option + Z to see and change feature.
591:  • Current Feature: Locate Code
592:  �[90mstdout�[2m | test/core/client/index/show-notification.test.ts�[2m > �[22m�[2mshowNotification�[2m > �[22m�[2mNotification Types�[2m > �[22m�[2mshould add error class when type is error�[22m�[39m
593:  [code-inspector-plugin]
...

753:  • Press and hold shift + ⌥option to use the feature.
754:  • Press shift + ⌥option + Z to see and change feature.
755:  • Current Feature: Locate Code
756:  �[90mstdout�[2m | test/core/client/index/track-code.test.ts�[2m > �[22m�[2mtrackCode�[2m > �[22m�[2mMultiple Features�[2m > �[22m�[2mshould handle all features enabled�[22m�[39m
757:  [code-inspector-plugin]
758:  • Press and hold shift + ⌥option to use the feature.
759:  • Press shift + ⌥option + Z to see and change feature.
760:  • Current Feature: Locate Code
761:  �[90mstdout�[2m | test/core/client/index/track-code.test.ts�[2m > �[22m�[2mtrackCode�[2m > �[22m�[2mMultiple Features�[2m > �[22m�[2mshould handle all features disabled except custom event�[22m�[39m
762:  [code-inspector-plugin]
763:  • Press and hold shift + ⌥option to use the feature.
764:  • Press shift + ⌥option + Z to see and change feature.
765:  • Current Feature: Locate Code
766:  �[32m✓�[39m test/core/client/index/track-code.test.ts �[2m (�[22m�[2m11 tests�[22m�[2m)�[22m�[90m 139�[2mms�[22m�[39m
767:  �[90mstderr�[2m | test/core/client/index/track-code.test.ts�[22m�[39m
768:  Error: AggregateError
769:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
770:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
771:  at Request.emit (node:events:536:35)
772:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
773:  at ClientRequest.emit (node:events:524:28)
774:  at emitErrorEvent (node:_http_client:104:11)
775:  at Socket.socketErrorListener (node:_http_client:512:5)
776:  at Socket.emit (node:events:524:28)
777:  at emitErrorNT (node:internal/streams/destroy:170:8)
778:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
779:  Error: AggregateError
780:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
781:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
782:  at Request.emit (node:events:536:35)
783:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
784:  at ClientRequest.emit (node:events:524:28)
785:  at emitErrorEvent (node:_http_client:104:11)
786:  at Socket.socketErrorListener (node:_http_client:512:5)
787:  at Socket.emit (node:events:524:28)
788:  at emitErrorNT (node:internal/streams/destroy:170:8)
789:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
790:  Error: AggregateError
791:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
792:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
793:  at Request.emit (node:events:536:35)
794:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
795:  at ClientRequest.emit (node:events:524:28)
796:  at emitErrorEvent (node:_http_client:104:11)
797:  at Socket.socketErrorListener (node:_http_client:512:5)
798:  at Socket.emit (node:events:524:28)
799:  at emitErrorNT (node:internal/streams/destroy:170:8)
800:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
801:  Error: AggregateError
802:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
803:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
804:  at Request.emit (node:events:536:35)
805:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
806:  at ClientRequest.emit (node:events:524:28)
807:  at emitErrorEvent (node:_http_client:104:11)
808:  at Socket.socketErrorListener (node:_http_client:512:5)
809:  at Socket.emit (node:events:524:28)
810:  at emitErrorNT (node:internal/streams/destroy:170:8)
811:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
812:  Error: AggregateError
813:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
814:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
815:  at Request.emit (node:events:536:35)
816:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
817:  at ClientRequest.emit (node:events:524:28)
818:  at emitErrorEvent (node:_http_client:104:11)
819:  at Socket.socketErrorListener (node:_http_client:512:5)
820:  at Socket.emit (node:events:524:28)
821:  at emitErrorNT (node:internal/streams/destroy:170:8)
822:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
823:  Error: AggregateError
824:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
825:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
826:  at Request.emit (node:events:536:35)
827:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
828:  at ClientRequest.emit (node:events:524:28)
829:  at emitErrorEvent (node:_http_client:104:11)
830:  at Socket.socketErrorListener (node:_http_client:512:5)
831:  at Socket.emit (node:events:524:28)
832:  at emitErrorNT (node:internal/streams/destroy:170:8)
833:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
834:  �[90mstderr�[2m | test/core/client/index/render-cover-edge-cases.test.ts�[22m�[39m
...

1491:  �[90mstdout�[2m | test/core/client/index/fallback-copy.test.ts�[2m > �[22m�[2mfallbackCopy�[2m > �[22m�[2mTextarea Creation�[2m > �[22m�[2mshould create textarea with correct value�[22m�[39m
1492:  [code-inspector-plugin]
1493:  • Press and hold shift + ⌥option to use the feature.
1494:  • Press shift + ⌥option + Z to see and change feature.
1495:  • Current Feature: Locate Code
1496:  �[90mstdout�[2m | test/core/client/index/fallback-copy.test.ts�[2m > �[22m�[2mfallbackCopy�[2m > �[22m�[2mTextarea Creation�[2m > �[22m�[2mshould set textarea style to fixed and opacity 0�[22m�[39m
1497:  [code-inspector-plugin]
1498:  • Press and hold shift + ⌥option to use the feature.
1499:  • Press shift + ⌥option + Z to see and change feature.
1500:  • Current Feature: Locate Code
1501:  �[90mstdout�[2m | test/core/client/index/fallback-copy.test.ts�[2m > �[22m�[2mfallbackCopy�[2m > �[22m�[2mCopy Success�[2m > �[22m�[2mshould show success notification when execCommand returns true�[22m�[39m
1502:  [code-inspector-plugin]
1503:  • Press and hold shift + ⌥option to use the feature.
1504:  • Press shift + ⌥option + Z to see and change feature.
1505:  • Current Feature: Locate Code
1506:  �[90mstdout�[2m | test/core/client/index/fallback-copy.test.ts�[2m > �[22m�[2mfallbackCopy�[2m > �[22m�[2mCopy Failure�[2m > �[22m�[2mshould show error notification when execCommand returns false�[22m�[39m
1507:  [code-inspector-plugin]
1508:  • Press and hold shift + ⌥option to use the feature.
1509:  • Press shift + ⌥option + Z to see and change feature.
1510:  • Current Feature: Locate Code
1511:  �[90mstdout�[2m | test/core/client/index/fallback-copy.test.ts�[2m > �[22m�[2mfallbackCopy�[2m > �[22m�[2mCopy Failure�[2m > �[22m�[2mshould show error notification when execCommand throws�[22m�[39m
1512:  [code-inspector-plugin]
...

1593:  • Press and hold shift + ⌥option to use the feature.
1594:  • Press shift + ⌥option + Z to see and change feature.
1595:  • Current Feature: Locate Code
1596:  �[90mstdout�[2m | test/core/client/index/handle-click-tree-node.test.ts�[2m > �[22m�[2mhandleClickTreeNode�[2m > �[22m�[2mLayer Panel Removal�[2m > �[22m�[2mshould reset nodeTree and showNodeTree after clicking�[22m�[39m
1597:  [code-inspector-plugin]
1598:  • Press and hold shift + ⌥option to use the feature.
1599:  • Press shift + ⌥option + Z to see and change feature.
1600:  • Current Feature: Locate Code
1601:  �[90mstdout�[2m | test/core/client/index/handle-click-tree-node.test.ts�[2m > �[22m�[2mhandleClickTreeNode�[2m > �[22m�[2mExecution Order�[2m > �[22m�[2mshould execute in correct order: set element, trackCode, removeLayerPanel�[22m�[39m
1602:  [code-inspector-plugin]
1603:  • Press and hold shift + ⌥option to use the feature.
1604:  • Press shift + ⌥option + Z to see and change feature.
1605:  • Current Feature: Locate Code
1606:  �[32m✓�[39m test/core/client/index/handle-click-tree-node.test.ts �[2m (�[22m�[2m6 tests�[22m�[2m)�[22m�[90m 99�[2mms�[22m�[39m
1607:  �[90mstderr�[2m | VirtualConsole.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45)�[22m�[39m
1608:  Error: AggregateError
1609:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
1610:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
1611:  at Request.emit (node:events:536:35)
1612:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
1613:  at ClientRequest.emit (node:events:524:28)
1614:  at emitErrorEvent (node:_http_client:104:11)
1615:  at Socket.socketErrorListener (node:_http_client:512:5)
1616:  at Socket.emit (node:events:524:28)
1617:  at emitErrorNT (node:internal/streams/destroy:170:8)
1618:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
1619:  Error: AggregateError
1620:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
1621:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
1622:  at Request.emit (node:events:536:35)
1623:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
1624:  at ClientRequest.emit (node:events:524:28)
1625:  at emitErrorEvent (node:_http_client:104:11)
1626:  at Socket.socketErrorListener (node:_http_client:512:5)
1627:  at Socket.emit (node:events:524:28)
1628:  at emitErrorNT (node:internal/streams/destroy:170:8)
1629:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
1630:  Error: AggregateError
1631:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
1632:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
1633:  at Request.emit (node:events:536:35)
1634:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
1635:  at ClientRequest.emit (node:events:524:28)
1636:  at emitErrorEvent (node:_http_client:104:11)
1637:  at Socket.socketErrorListener (node:_http_client:512:5)
1638:  at Socket.emit (node:events:524:28)
1639:  at emitErrorNT (node:internal/streams/destroy:170:8)
1640:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
1641:  Error: AggregateError
1642:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
1643:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
1644:  at Request.emit (node:events:536:35)
1645:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
1646:  at ClientRequest.emit (node:events:524:28)
1647:  at emitErrorEvent (node:_http_client:104:11)
1648:  at Socket.socketErrorListener (node:_http_client:512:5)
1649:  at Socket.emit (node:events:524:28)
1650:  at emitErrorNT (node:internal/streams/destroy:170:8)
1651:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
1652:  Error: AggregateError
1653:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
1654:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
1655:  at Request.emit (node:events:536:35)
1656:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
1657:  at ClientRequest.emit (node:events:524:28)
1658:  at emitErrorEvent (node:_http_client:104:11)
1659:  at Socket.socketErrorListener (node:_http_client:512:5)
1660:  at Socket.emit (node:events:524:28)
1661:  at emitErrorNT (node:internal/streams/destroy:170:8)
1662:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
1663:  Error: AggregateError
1664:  at Object.dispatchError (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
1665:  at Request.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
1666:  at Request.emit (node:events:536:35)
1667:  at ClientRequest.<anonymous> (/home/runner/work/code-inspector/code-inspector/node_modules/.pnpm/jsdom@25.0.1_bufferutil@4.0.8_utf-8-validate@6.0.4/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
1668:  at ClientRequest.emit (node:events:524:28)
1669:  at emitErrorEvent (node:_http_client:104:11)
1670:  at Socket.socketErrorListener (node:_http_client:512:5)
1671:  at Socket.emit (node:events:524:28)
1672:  at emitErrorNT (node:internal/streams/destroy:170:8)
1673:  at emitErrorCloseNT (node:internal/streams/destroy:129:3) �[90mundefined�[39m
1674:  �[90mstderr�[2m | test/core/client/index/record-mouse-position.test.ts�[22m�[39m
...

1747:  [code-inspector-plugin]
1748:  • Press and hold Shift + Alt to use the feature.
1749:  • Press Shift + Alt + Z to see and change feature.
1750:  • Current Feature: None
1751:  �[32m✓�[39m test/core/client/index/print-tip.test.ts �[2m (�[22m�[2m4 tests�[22m�[2m)�[22m�[90m 60�[2mms�[22m�[39m
1752:  �[32m✓�[39m test/core/server/use-client/get-hide-path-attr-code.test.ts �[2m (�[22m�[2m10 tests�[22m�[2m)�[22m�[90m 4�[2mms�[22m�[39m
1753:  �[32m✓�[39m test/core/shared/utils/file-url-to-path.test.ts �[2m (�[22m�[2m3 tests�[22m�[2m)�[22m�[90m 4�[2mms�[22m�[39m
1754:  �[32m✓�[39m test/webpack/inject-loader.test.ts �[2m (�[22m�[2m6 tests�[22m�[2m)�[22m�[90m 7�[2mms�[22m�[39m
1755:  �[90mstderr�[2m | test/core/client/index/remove-global-cursor-style.test.ts�[22m�[39m
1756:  Lit is in dev mode. Not recommended for production! See https://lit.dev/msg/dev-mode for more information.
1757:  �[90mstdout�[2m | test/core/client/index/remove-global-cursor-style.test.ts�[2m > �[22m�[2mremoveGlobalCursorStyle�[2m > �[22m�[2mBasic Functionality�[2m > �[22m�[2mshould remove style element when it exists�[22m�[39m
1758:  [code-inspector-plugin]
1759:  • Press and hold shift + ⌥option to use the feature.
1760:  • Press shift + ⌥option + Z to see and change feature.
1761:  • Current Feature: Locate Code
1762:  �[90mstdout�[2m | test/core/client/index/remove-global-cursor-style.test.ts�[2m > �[22m�[2mremoveGlobalCursorStyle�[2m > �[22m�[2mBasic Functionality�[2m > �[22m�[2mshould not throw error when style element does not exist�[22m�[39m
1763:  [code-inspector-plugin]
...

1806:  [code-inspector-plugin]
1807:  • Press and hold shift + ⌥option to use the feature.
1808:  • Press shift + ⌥option + Z to see and change feature.
1809:  • Current Feature: Locate Code
1810:  �[32m✓�[39m test/core/client/index/is-tracking.test.ts �[2m (�[22m�[2m2 tests�[22m�[2m)�[22m�[90m 45�[2mms�[22m�[39m
1811:  �[90mstderr�[2m | test/core/client/index/get-dom-property-value.test.ts�[22m�[39m
1812:  Lit is in dev mode. Not recommended for production! See https://lit.dev/msg/dev-mode for more information.
1813:  �[90mstdout�[2m | test/core/client/index/get-dom-property-value.test.ts�[2m > �[22m�[2mgetDomPropertyValue�[2m > �[22m�[2mshould convert pixel values to numbers�[22m�[39m
1814:  [code-inspector-plugin]
1815:  • Press and hold shift + ⌥option to use the feature.
1816:  • Press shift + ⌥option + Z to see and change feature.
1817:  • Current Feature: Locate Code
1818:  �[32m✓�[39m test/core/client/index/get-dom-property-value.test.ts �[2m (�[22m�[2m1 test�[22m�[2m)�[22m�[90m 66�[2mms�[22m�[39m
1819:  �[32m✓�[39m test/core/shared/index.test.ts �[2m (�[22m�[2m2 tests�[22m�[2m)�[22m�[90m 4�[2mms�[22m�[39m
1820:  �[32m✓�[39m test/core/shared/utils/get-file-path-without-ext.test.ts �[2m (�[22m�[2m2 tests�[22m�[2m)�[22m�[90m 3�[2mms�[22m�[39m
1821:  �[31m⎯⎯⎯⎯⎯⎯⎯�[1m�[7m Failed Tests 6 �[27m�[22m⎯⎯⎯⎯⎯⎯⎯�[39m
1822:  �[31m�[1m�[7m FAIL �[27m�[22m�[39m test/esbuild/index.test.ts�[2m > �[22mEsbuildCodeInspectorPlugin�[2m > �[22monLoad handler�[2m > �[22mshould return code string for excluded files
1823:  �[31m�[1mAssertionError�[22m: expected { …(2) } to be 'const excluded = 1;' // Object.is equality�[39m
1824:  �[32m- Expected:�[39m 
1825:  "const excluded = 1;"
1826:  �[31m+ Received:�[39m 
1827:  Object {
1828:  "contents": "const excluded = 1;",
1829:  "loader": "tsx",
1830:  }
1831:  �[36m �[2m❯�[22m test/esbuild/index.test.ts:�[2m126:22�[22m�[39m
1832:  �[90m124| �[39m      �[35mconst�[39m result �[33m=�[39m �[35mawait�[39m �[34monLoadCallback�[39m({ path�[33m:�[39m �[32m'/test/excluded-file�[39m…
1833:  �[90m125| �[39m      �[90m// When excluded and not in cache, returns the code string (chec�[39m…
1834:  �[90m126| �[39m      �[34mexpect�[39m(result)�[33m.�[39m�[34mtoBe�[39m(�[32m'const excluded = 1;'�[39m)�[33m;�[39m
1835:  �[90m   | �[39m                     �[31m^�[39m
1836:  �[90m127| �[39m    })�[33m;�[39m
1837:  �[90m128| �[39m
1838:  �[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/6]⎯�[22m�[39m
1839:  �[31m�[1m�[7m FAIL �[27m�[22m�[39m test/core/server/server/create-server.test.ts�[2m > �[22mcreateServer�[2m > �[22mrequest handling�[2m > �[22mshould handle request with file, line, and column parameters
1840:  �[31m�[1mAssertionError�[22m: expected "spy" to be called at least once�[39m
1841:  �[36m �[2m❯�[22m test/core/server/server/create-server.test.ts:�[2m85:25�[22m�[39m
1842:  �[90m 83| �[39m      })�[33m;�[39m
1843:  �[90m 84| �[39m      �[34mexpect�[39m(mockRes�[33m.�[39mend)�[33m.�[39m�[34mtoHaveBeenCalledWith�[39m(�[32m'ok'�[39m)�[33m;�[39m
1844:  �[90m 85| �[39m      �[34mexpect�[39m(launchIDE)�[33m.�[39m�[34mtoHaveBeenCalled�[39m()�[33m;�[39m
1845:  �[90m   | �[39m                        �[31m^�[39m
1846:  �[90m 86| �[39m    })�[33m;�[39m
1847:  �[90m 87| �[39m
1848:  �[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/6]⎯�[22m�[39m
1849:  �[31m�[1m�[7m FAIL �[27m�[22m�[39m test/core/server/server/create-server.test.ts�[2m > �[22mcreateServer�[2m > �[22mrequest handling�[2m > �[22mshould prepend ProjectRootPath to relative file paths
1850:  �[31m�[1mAssertionError�[22m: expected "spy" to be called with arguments: [ ObjectContaining{…} ]�[90m
1851:  Received: 
1852:  �[31m�[90m
1853:  Number of calls: �[1m0�[22m
1854:  �[31m�[39m
1855:  �[36m �[2m❯�[22m test/core/server/server/create-server.test.ts:�[2m103:27�[22m�[39m
1856:  �[90m101| �[39m
1857:  �[90m102| �[39m      �[35mif�[39m (�[33mProjectRootPath�[39m) {
1858:  �[90m103| �[39m        �[34mexpect�[39m(launchIDE)�[33m.�[39m�[34mtoHaveBeenCalledWith�[39m(
1859:  �[90m   | �[39m                          �[31m^�[39m
1860:  �[90m104| �[39m          expect�[33m.�[39m�[34mobjectContaining�[39m({
1861:  �[90m105| �[39m            file�[33m:�[39m �[32m`�[39m�[36m${�[39m�[33mProjectRootPath�[39m�[36m}�[39m�[32m/src/file.ts`�[39m�[33m,�[39m
1862:  �[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/6]⎯�[22m�[39m
1863:  �[31m�[1m�[7m FAIL �[27m�[22m�[39m test/core/server/server/create-server.test.ts�[2m > �[22mcreateServer�[2m > �[22mrequest handling�[2m > �[22mshould pass editor and openIn options to launchIDE
1864:  �[31m�[1mAssertionError�[22m: expected "spy" to be called with arguments: [ ObjectContaining{…} ]�[90m
1865:  Received: 
1866:  �[31m�[90m
1867:  Number of calls: �[1m0�[22m
1868:  �[31m�[39m
1869:  �[36m �[2m❯�[22m test/core/server/server/create-server.test.ts:�[2m180:25�[22m�[39m
1870:  �[90m178| �[39m      �[34mrequestHandler�[39m(mockReq�[33m,�[39m mockRes)�[33m;�[39m
1871:  �[90m179| �[39m
1872:  �[90m180| �[39m      �[34mexpect�[39m(launchIDE)�[33m.�[39m�[34mtoHaveBeenCalledWith�[39m(
1873:  �[90m   | �[39m                        �[31m^�[39m
1874:  �[90m181| �[39m        expect�[33m.�[39m�[34mobjectContaining�[39m({
1875:  �[90m182| �[39m          editor�[33m:�[39m �[32m'code'�[39m�[33m,�[39m
1876:  �[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/6]⎯�[22m�[39m
1877:  �[31m�[1m�[7m FAIL �[27m�[22m�[39m test/core/server/server/create-server.test.ts�[2m > �[22mcreateServer�[2m > �[22mrequest handling�[2m > �[22mshould decode URL-encoded file paths correctly
1878:  �[31m�[1mAssertionError�[22m: expected "spy" to be called with arguments: [ ObjectContaining{…} ]�[90m
1879:  Received: 
1880:  �[31m�[90m
1881:  Number of calls: �[1m0�[22m
1882:  �[31m�[39m
1883:  �[36m �[2m❯�[22m test/core/server/server/create-server.test.ts:�[2m205:25�[22m�[39m
1884:  �[90m203| �[39m      �[34mrequestHandler�[39m(mockReq�[33m,�[39m mockRes)�[33m;�[39m
1885:  �[90m204| �[39m
1886:  �[90m205| �[39m      �[34mexpect�[39m(launchIDE)�[33m.�[39m�[34mtoHaveBeenCalledWith�[39m(
1887:  �[90m   | �[39m                        �[31m^�[39m
1888:  �[90m206| �[39m        expect�[33m.�[39m�[34mobjectContaining�[39m({
1889:  �[90m207| �[39m          file�[33m:�[39m expect�[33m.�[39m�[34mstringContaining�[39m(�[32m'/path/with spaces/file.ts'�[39m)�[33m,�[39m
1890:  �[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[5/6]⎯�[22m�[39m
1891:  �[31m�[1m�[7m FAIL �[27m�[22m�[39m test/core/server/server/create-server.test.ts�[2m > �[22mcreateServer�[2m > �[22mrequest handling�[2m > �[22mshould handle missing line and column parameters
1892:  �[31m�[1mAssertionError�[22m: expected "spy" to be called with arguments: [ ObjectContaining{…} ]�[90m
1893:  Received: 
1894:  �[31m�[90m
1895:  Number of calls: �[1m0�[22m
1896:  �[31m�[39m
1897:  �[36m �[2m❯�[22m test/core/server/server/create-server.test.ts:�[2m229:25�[22m�[39m
1898:  �[90m227| �[39m
1899:  �[90m228| �[39m      �[90m// When line/column are missing, Number(null) returns 0�[39m
1900:  �[90m229| �[39m      �[34mexpect�[39m(launchIDE)�[33m.�[39m�[34mtoHaveBeenCalledWith�[39m(
1901:  �[90m   | �[39m                        �[31m^�[39m
1902:  �[90m230| �[39m        expect�[33m.�[39m�[34mobjectContaining�[39m({
1903:  �[90m231| �[39m          line�[33m:�[39m �[34m0�[39m�[33m,�[39m
1904:  �[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[6/6]⎯�[22m�[39m
1905:  �[2m Test Files �[22m �[1m�[31m2 failed�[39m�[22m�[2m | �[22m�[1m�[32m75 passed�[39m�[22m�[90m (77)�[39m
1906:  �[2m      Tests �[22m �[1m�[31m6 failed�[39m�[22m�[2m | �[22m�[1m�[32m850 passed�[39m�[22m�[90m (856)�[39m
1907:  �[2m   Start at �[22m 09:50:37
1908:  �[2m   Duration �[22m 57.89s�[2m (transform 788ms, setup 0ms, collect 7.56s, tests 5.81s, environment 27.87s, prepare 4.98s)�[22m
1909:  ##[error]AssertionError: expected { …(2) } to be 'const excluded = 1;' // Object.is equality
1910:  
1911:  - Expected: 
1912:  "const excluded = 1;"
1913:  
1914:  + Received: 
1915:  Object {
1916:    "contents": "const excluded = 1;",
1917:    "loader": "tsx",
1918:  }
1919:  
1920:   ❯ test/esbuild/index.test.ts:126:22
1921:  
1922:  
1923:  ##[error]AssertionError: expected "spy" to be called at least once
1924:   ❯ test/core/server/server/create-server.test.ts:85:25
1925:  
1926:  
1927:  ##[error]AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
1928:  
1929:  Received: 
1930:  
1931:  
1932:  
1933:  Number of calls: 0
1934:  
1935:   ❯ test/core/server/server/create-server.test.ts:103:27
1936:  
1937:  
1938:  ##[error]AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
1939:  
1940:  Received: 
1941:  
1942:  
1943:  
1944:  Number of calls: 0
1945:  
1946:   ❯ test/core/server/server/create-server.test.ts:180:25
1947:  
1948:  
1949:  ##[error]AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
1950:  
1951:  Received: 
1952:  
1953:  
1954:  
1955:  Number of calls: 0
1956:  
1957:   ❯ test/core/server/server/create-server.test.ts:205:25
1958:  
1959:  
1960:  ##[error]AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
1961:  
1962:  Received: 
1963:  
1964:  
1965:  
1966:  Number of calls: 0
1967:  
1968:   ❯ test/core/server/server/create-server.test.ts:229:25
1969:  
1970:  
1971:  ELIFECYCLE  Test failed. See above for more details.
1972:  ##[error]Process completed with exit code 1.
1973:  Post job cleanup.

@zh-lx zh-lx merged commit 36ddc7d into main Apr 1, 2026
1 of 2 checks passed
@zh-lx zh-lx deleted the fix/webpack-vue branch April 1, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant