Skip to content

chore(deps): bump nock from 14.0.17 to 15.0.6 - #1128

Open
dependabot[bot] wants to merge 11 commits into
mainfrom
dependabot/npm_and_yarn/nock-15.0.6
Open

dependabot[bot] wants to merge 11 commits into
mainfrom
dependabot/npm_and_yarn/nock-15.0.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor

Bumps nock from 14.0.17 to 15.0.6.

Release notes

Sourced from nock's releases.

v15.0.6

15.0.6 (2026-11-05)

Bug Fixes

  • support @​mswjs/interceptors 0.45 by streaming delayed bodies wit… (#3056) (3e817ab)

v15.0.5

15.0.5 (2026-10-20)

Bug Fixes

  • types: align Definition with runtime; add rawHeaders, drop headers (#3051) (415fc64)

v15.0.4

15.0.4 (2026-10-19)

Bug Fixes

v15.0.3

15.0.3 (2026-10-19)

Bug Fixes

v15.0.2

15.0.2 (2026-10-16)

Bug Fixes

v15.0.1

15.0.1 (2026-10-06)

Bug Fixes

v15.0.0

Released by accident, please use continue using v14 or v15@beta

... (truncated)

Commits
  • 3e817ab fix: support @​mswjs/interceptors 0.45 by streaming delayed bodies wit… (#3056)
  • 415fc64 fix(types): align Definition with runtime; add rawHeaders, drop headers (#3051)
  • fc32d74 fix: post release fixes (#3048)
  • 5bfb9ed fix: count bytes, not characters, for replyContentLength (#3007)
  • 76d2069 fix: don't decompress an empty request body (#3042)
  • d91282e Update migration guide for version 15 changes
  • 0d32f94 fix: trigger release after merge v15 (#3021)
  • bcd0200 feat!: v15.0.0 (#3017)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [nock](https://github.com/nock/nock) from 14.0.17 to 15.0.6.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](nock/nock@v14.0.17...v15.0.6)

---
updated-dependencies:
- dependency-name: nock
  dependency-version: 15.0.6
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependabot dependencies Pull requests that update a dependency file labels Nov 9, 2026
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Coverage report

Caution

Test run failed

St.❔
Category Percentage Covered / Total
🟢 Statements
100% (+39.19% 🔼)
0/0
🟢 Branches
100% (+52.56% 🔼)
0/0
🟢 Functions
100% (+45.38% 🔼)
0/0
🟢 Lines
100% (+39.9% 🔼)
0/0

Test suite run failed

Failed tests: 0/0. Failed suites: 32/32.
  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)


  ● Test suite failed to run

    Must use import to load ES Module: /home/runner/work/apl-api/apl-api/node_modules/nock/dist/index.js

    The file contains ESM syntax (import/export) that could not be executed as CommonJS. Either:
      - Configure a transform (e.g. babel-jest) that compiles this file to CommonJS (see https://jestjs.io/docs/code-transformation)
      - If the file is in "node_modules", allow it to be transformed by adjusting "transformIgnorePatterns" (see https://jestjs.io/docs/configuration#transformignorepatterns-arraystring)
      - Use Node v24.9+ where Jest supports require(esm) natively (see https://jestjs.io/docs/ecmascript-modules#require-of-esm)

    > 1 | import nock from 'nock'
        | ^
      2 |
      3 | // src/fixtures/jwt.ts registers a persisted nock interceptor on module load.
      4 | // nock patches Node's global http/https agent for the whole process, so without

      at createRequireEsmError (node_modules/jest-runtime/build/index.js:452:17)
      at Object.<anonymous> (src/jest.setup.ts:1:1)

Report generated by 🧪jest coverage report action from d6f4725

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant