feat: support tsconfig paths and package-relative imports [sc-22644] #2214
Annotations
3 errors and 1 warning
Run npm run test:
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)
|
Run npm run test:
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)
|
Run npm run test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading