Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

core: fix test failures in test/core/headers.js #42

Description

@f4ah6o

Failing file

  • test/core/headers.js

Example failure

  • FAIL: Core htmx AJAX headers > should include the HX-Request header
  • TypeError: Fake server request processing threw exception: Cannot read properties of undefined (reading 'should')

Repro

  1. Ensure no !test/... excludes are active in web-test-runner.config.mjs.
  2. Run: pnpm exec wtr --config web-test-runner.config.mjs --files test/core/headers.js --concurrency 1 --static-logging

Goal

  • Make this file pass in pnpm test:htmx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcoreCore functionality

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions