diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4f3968..9ec0c14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ on: jobs: build: + name: 🔨 Build & Lint runs-on: ubuntu-latest steps: @@ -18,14 +19,14 @@ jobs: - run: bun test e2e-oob: + name: 🚀 E2E OOB Tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: oven-sh/setup-bun@v2 - - run: sudo apt-get update && sudo apt-get install -y chromium-browser - - run: bun install - - run: bun install + - run: bun ci + - run: bun ci working-directory: example/oob - run: bun run start & working-directory: example/oob diff --git a/index.ts b/index.ts index 02f0391..ab7a0b0 100644 --- a/index.ts +++ b/index.ts @@ -22,7 +22,8 @@ declare const htmx: typeof htmxType; if (name === "htmx:beforeRequest") { const xhr = evt.detail.xhr as XMLHttpRequest; - (xhr as any)._chunkedMode = elt.getAttribute("hx-chunked-mode") || "append"; + (xhr as any)._chunkedMode = + elt.getAttribute("hx-chunked-mode") || "append"; (xhr as any)._chunkedLastLen = 0; xhr.onprogress = function () {