Skip to content

feat: support tsconfig paths and package-relative imports [sc-22644] #2213

feat: support tsconfig paths and package-relative imports [sc-22644]

feat: support tsconfig paths and package-relative imports [sc-22644] #2213

Triggered via pull request December 19, 2024 21:14
Status Failure
Total duration 1m 31s
Artifacts

test.yml

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

Annotations

5 errors and 12 warnings
dependency-parser - parser() › should handle JS file with dependencies: packages/cli/src/services/check-parser/__tests__/check-parser.spec.ts#L25
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 0 Array [ "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/simple-example/dep1.js", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/simple-example/dep2.js", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/simple-example/dep3.js", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/simple-example/module-package/main.js", - "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/simple-example/module-package/package.json", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/simple-example/module/index.js", ] at Object.<anonymous> (src/services/check-parser/__tests__/check-parser.spec.ts:25:54)
dependency-parser - parser() › should parse typescript dependencies: packages/cli/src/services/check-parser/__tests__/check-parser.spec.ts#L114
expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 0 @@ -4,11 +4,10 @@ "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/typescript-example/dep3.ts", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/typescript-example/dep4.js", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/typescript-example/dep5.ts", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/typescript-example/dep6.ts", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/typescript-example/module-package/main.js", - "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/typescript-example/module-package/package.json", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/typescript-example/module/index.ts", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/typescript-example/pages/external.first.page.js", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/typescript-example/pages/external.second.page.ts", "/home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/check-parser/__tests__/check-parser-fixtures/typescript-example/type.ts", ] at Object.<anonymous> (src/services/check-parser/__tests__/check-parser.spec.ts:114:54)
test - ubuntu-latest
Process completed with exit code 1.
test - windows-latest
The job was canceled because "ubuntu-latest" failed.
test - windows-latest
The operation was canceled.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: packages/cli/e2e/__tests__/fixtures/deploy-esm-project/api.check.mjs#L3
'api' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/esm-module/checks.check.ts#L3
'browserCheck' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/test-project/src/__checks__/group.check.ts#L22
'browserCheck' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/test-project/src/__checks__/heartbeat.check.ts#L3
'heartbeat' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/test-project/src/__checks__/secret.check.ts#L3
'browserCheck' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/test-project/src/services/api/api.check.ts#L4
'apiCheck' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/test-project/src/services/api/api.check.ts#L25
'skipSslApiCheck' is assigned a value but never used
lint: packages/cli/e2e/__tests__/fixtures/test-project/src/services/api/typo.checkz.ts#L3
'apiCheck' is assigned a value but never used
test - ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636