Skip to content

feat: [1502] Reduce duplication in tests #1339

feat: [1502] Reduce duplication in tests

feat: [1502] Reduce duplication in tests #1339

Triggered via pull request January 9, 2025 06:38
Status Failure
Total duration 1m 30s
Artifacts

pull_request.yml

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

Annotations

5 errors and 10 warnings
build (22)
Process completed with exit code 1.
build (20)
The job was canceled because "_22" failed.
build (20)
The operation was canceled.
build (18)
The job was canceled because "_22" failed.
build (18)
The operation was canceled.
build (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (22): packages/happy-dom/test/fetch/Fetch.test.ts#L41
Replace `"string"` with `'string'`
build (22): packages/happy-dom/test/fetch/Fetch.test.ts#L323
Replace `'content-length',·String(chunks[0].length·+·chunks[1].length·+·chunks[2].length)` with `⏎↹↹↹↹↹'content-length',⏎↹↹↹↹↹String(chunks[0].length·+·chunks[1].length·+·chunks[2].length)⏎↹↹↹↹`
build (20): packages/happy-dom/test/fetch/Fetch.test.ts#L41
Replace `"string"` with `'string'`
build (20): packages/happy-dom/test/fetch/Fetch.test.ts#L323
Replace `'content-length',·String(chunks[0].length·+·chunks[1].length·+·chunks[2].length)` with `⏎↹↹↹↹↹'content-length',⏎↹↹↹↹↹String(chunks[0].length·+·chunks[1].length·+·chunks[2].length)⏎↹↹↹↹`
build (18): packages/happy-dom/test/fetch/Fetch.test.ts#L41
Replace `"string"` with `'string'`
build (18): packages/happy-dom/test/fetch/Fetch.test.ts#L323
Replace `'content-length',·String(chunks[0].length·+·chunks[1].length·+·chunks[2].length)` with `⏎↹↹↹↹↹'content-length',⏎↹↹↹↹↹String(chunks[0].length·+·chunks[1].length·+·chunks[2].length)⏎↹↹↹↹`