Skip to content

feat: [1502] Allow fetch to be intercepted and modified #1316

feat: [1502] Allow fetch to be intercepted and modified

feat: [1502] Allow fetch to be intercepted and modified #1316

Triggered via pull request January 4, 2025 00:50
Status Failure
Total duration 1m 28s
Artifacts

pull_request.yml

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

Annotations

5 errors and 19 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/src/fetch/SyncFetch.ts#L23
Replace `"./types/IFetchInterceptor.js"` with `'./types/IFetchInterceptor.js'`
build (22): packages/happy-dom/test/fetch/SyncFetch.test.ts#L16
Replace `"node:assert"` with `'node:assert'`
build (22): packages/happy-dom/test/fetch/SyncFetch.test.ts#L209
Replace `"intercepted·text"` with `'intercepted·text'`
build (22): packages/happy-dom/test/fetch/SyncFetch.test.ts#L224
Replace `"No·request·should·be·made·when·beforeSyncRequest·returns·a·response"` with `'No·request·should·be·made·when·beforeSyncRequest·returns·a·response'`
build (22): packages/happy-dom/test/fetch/SyncFetch.test.ts#L237
Replace `"intercepted·text"` with `'intercepted·text'`
build (20): packages/happy-dom/src/fetch/SyncFetch.ts#L23
Replace `"./types/IFetchInterceptor.js"` with `'./types/IFetchInterceptor.js'`
build (20): packages/happy-dom/test/fetch/SyncFetch.test.ts#L16
Replace `"node:assert"` with `'node:assert'`
build (20): packages/happy-dom/test/fetch/SyncFetch.test.ts#L209
Replace `"intercepted·text"` with `'intercepted·text'`
build (20): packages/happy-dom/test/fetch/SyncFetch.test.ts#L224
Replace `"No·request·should·be·made·when·beforeSyncRequest·returns·a·response"` with `'No·request·should·be·made·when·beforeSyncRequest·returns·a·response'`
build (20): packages/happy-dom/test/fetch/SyncFetch.test.ts#L237
Replace `"intercepted·text"` with `'intercepted·text'`
build (18): packages/happy-dom/src/fetch/SyncFetch.ts#L23
Replace `"./types/IFetchInterceptor.js"` with `'./types/IFetchInterceptor.js'`
build (18): packages/happy-dom/test/fetch/SyncFetch.test.ts#L16
Replace `"node:assert"` with `'node:assert'`
build (18): packages/happy-dom/test/fetch/SyncFetch.test.ts#L209
Replace `"intercepted·text"` with `'intercepted·text'`
build (18): packages/happy-dom/test/fetch/SyncFetch.test.ts#L224
Replace `"No·request·should·be·made·when·beforeSyncRequest·returns·a·response"` with `'No·request·should·be·made·when·beforeSyncRequest·returns·a·response'`
build (18): packages/happy-dom/test/fetch/SyncFetch.test.ts#L237
Replace `"intercepted·text"` with `'intercepted·text'`