Skip to content

feat: integrate eslint-import-context to get correct context.cwd #1389

feat: integrate eslint-import-context to get correct context.cwd

feat: integrate eslint-import-context to get correct context.cwd #1389

Triggered via pull request May 25, 2025 05:06
Status Failure
Total duration 2m 48s
Artifacts

ci.yml

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

Annotations

11 errors
Lint and Test with Node.js 18 on macos-latest
Process completed with exit code 1.
Lint and Test with Node.js 20 on macos-latest
Process completed with exit code 1.
Lint and Test with Node.js 22 on macos-latest
Process completed with exit code 1.
Lint and Test with Node.js 20 on ubuntu-latest
Process completed with exit code 1.
Lint and Test with Node.js 22 on ubuntu-latest
Process completed with exit code 1.
Lint and Test with Node.js 18 on ubuntu-latest
Process completed with exit code 1.
Lint and Test with Node.js 20 on windows-latest
Process completed with exit code 1.
Lint and Test with Node.js 18 on windows-latest
Process completed with exit code 1.
Lint and Test with Node.js 22 on windows-latest
Process completed with exit code 1.
tests/unit/unit.spec.ts > createTypeScriptImportResolver > should work with pnp: tests/unit/unit.spec.ts#L26
Error: Snapshot `createTypeScriptImportResolver > should work with pnp 1` mismatched - Expected + Received { "found": true, - "path": "<ROOT>/tests/unit/pnp/.pnp.cjs", + "path": "<ROOT>/node_modules/@types/pnpapi/index.d.ts", } ❯ tests/unit/unit.spec.ts:26:50
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > withJsExtension: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > withJsExtension 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/withJsExtension/test.cjs + 4:29 error Missing file extension \"cts\" for \"../../..\" import-x/extensions + + ✖ 1 problem (1 error, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11