Skip to content

chore: update module to node16 [gh-0] #1973

chore: update module to node16 [gh-0]

chore: update module to node16 [gh-0] #1973

Triggered via pull request September 21, 2023 07:50
Status Failure
Total duration 4m 54s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

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

Annotations

21 errors and 10 warnings
deploy › Simple project should deploy successfully (version v4.0.8): packages/cli/e2e/__tests__/deploy.spec.ts#L102
expect(received).toBe(expected) // Object.is equality Expected: "" Received: " Error: Error loading file /home/runner/work/checkly-cli/checkly-cli/packag es/cli/e2e/__tests__/fixtures/deploy-project/checkly.config.ts TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension \".ts\" for· /home/runner/work/checkly-cli/checkly-cli/packages/cli/e2e/__tests__/fixtu res/deploy-project/checkly.config.ts at Object.getFileProtocolModuleFormat [as file:]· at ESMLoader.#createModuleJob· " at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:102:20)
deploy › Simple project should deploy successfully: packages/cli/e2e/__tests__/deploy.spec.ts#L130
expect(received).toBe(expected) // Object.is equality Expected: "" Received: " Error: Error loading file /home/runner/work/checkly-cli/checkly-cli/packag es/cli/e2e/__tests__/fixtures/deploy-project/checkly.config.ts TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension \".ts\" for· /home/runner/work/checkly-cli/checkly-cli/packages/cli/e2e/__tests__/fixtu res/deploy-project/checkly.config.ts at Object.getFileProtocolModuleFormat [as file:]· at ESMLoader.#createModuleJob· " at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:130:20)
deploy › Should mark testOnly check as skipped: packages/cli/e2e/__tests__/deploy.spec.ts#L174
expect(received).toContain(expected) // indexOf Expected substring: "Create: ApiCheck: not-testonly-default-check ApiCheck: not-testonly-false-check· Skip (testOnly): ApiCheck: testonly-true-check " Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:174:20)
deploy › Should mark testOnly check as deleted if there is a deletion: packages/cli/e2e/__tests__/deploy.spec.ts#L204
expect(received).toContain(expected) // indexOf Expected substring: "Delete: Check: testonly-true-check· Update and Unchanged: ApiCheck: not-testonly-default-check ApiCheck: not-testonly-false-check" Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:204:20)
deploy › Should deploy with different config file: packages/cli/e2e/__tests__/deploy.spec.ts#L231
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:231:30)
deploy › Should terminate when no resources are found: packages/cli/e2e/__tests__/deploy.spec.ts#L244
expect(received).toContain(expected) // indexOf Expected substring: "Failed to deploy your project. Unable to find constructs to deploy." Received string: " Error: Error loading file /home/runner/work/checkly-cli/checkly-cli/packag es/cli/e2e/__tests__/fixtures/empty-project/checkly.config.ts TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension \".ts\" for· /home/runner/work/checkly-cli/checkly-cli/packages/cli/e2e/__tests__/fixtu res/empty-project/checkly.config.ts at Object.getFileProtocolModuleFormat [as file:]· at ESMLoader.#createModuleJob· " at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:244:27)
test › Test project should run successfully: packages/cli/e2e/__tests__/test.spec.ts#L18
expect(received).toContain(expected) // indexOf Expected substring: "c2b14c79-56de-4b93-b166-30bac8be989d" Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ⣾ Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/test.spec.ts:18:27)
test › Should include only one check: packages/cli/e2e/__tests__/test.spec.ts#L29
expect(received).toContain(expected) // indexOf Expected substring: "Show SECRET_ENV value" Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/test.spec.ts:29:27)
test › Should use different config file: packages/cli/e2e/__tests__/test.spec.ts#L41
expect(received).toContain(expected) // indexOf Expected substring: "Show SECRET_ENV value" Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/test.spec.ts:41:27)
test › Should terminate when no checks are found: packages/cli/e2e/__tests__/test.spec.ts#L63
expect(received).toContain(expected) // indexOf Expected substring: "Unable to find checks to run using [FILEARGS]='" Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/test.spec.ts:63:27)
test - windows-latest
The job was canceled because "ubuntu-latest" failed.
deploy › Simple project should deploy successfully (version v4.0.8): packages/cli/e2e/__tests__/deploy.spec.ts#L102
expect(received).toBe(expected) // Object.is equality Expected: "" Received: " Error: Error loading file D:\\a\\checkly-cli\\checkly-cli\\packages\\cli\\e2e\\__ tests__\\fixtures\\deploy-project\\checkly.config.ts Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file,· data are supported by the default ESM loader. On Windows, absolute paths· must be valid file:// URLs. Received protocol 'd:' at throwIfUnsupportedURLScheme· " at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:102:20)
deploy › Simple project should deploy successfully: packages/cli/e2e/__tests__/deploy.spec.ts#L130
expect(received).toBe(expected) // Object.is equality Expected: "" Received: " Error: Error loading file D:\\a\\checkly-cli\\checkly-cli\\packages\\cli\\e2e\\__ tests__\\fixtures\\deploy-project\\checkly.config.ts Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file,· data are supported by the default ESM loader. On Windows, absolute paths· must be valid file:// URLs. Received protocol 'd:' at throwIfUnsupportedURLScheme· " at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:130:20)
deploy › Should mark testOnly check as skipped: packages/cli/e2e/__tests__/deploy.spec.ts#L174
expect(received).toContain(expected) // indexOf Expected substring: "Create: ApiCheck: not-testonly-default-check ApiCheck: not-testonly-false-check· Skip (testOnly): ApiCheck: testonly-true-check " Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:174:20)
deploy › Should mark testOnly check as deleted if there is a deletion: packages/cli/e2e/__tests__/deploy.spec.ts#L204
expect(received).toContain(expected) // indexOf Expected substring: "Delete: Check: testonly-true-check· Update and Unchanged: ApiCheck: not-testonly-default-check ApiCheck: not-testonly-false-check" Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:204:20)
deploy › Should deploy with different config file: packages/cli/e2e/__tests__/deploy.spec.ts#L231
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 1 at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:231:30)
deploy › Should terminate when no resources are found: packages/cli/e2e/__tests__/deploy.spec.ts#L244
expect(received).toContain(expected) // indexOf Expected substring: "Failed to deploy your project. Unable to find constructs to deploy." Received string: " Error: Error loading file D:\\a\\checkly-cli\\checkly-cli\\packages\\cli\\e2e\\__ tests__\\fixtures\\empty-project\\checkly.config.ts Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file,· data are supported by the default ESM loader. On Windows, absolute paths· must be valid file:// URLs. Received protocol 'd:' at throwIfUnsupportedURLScheme· " at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:244:27)
test › Test project should run successfully: packages/cli/e2e/__tests__/test.spec.ts#L18
expect(received).toContain(expected) // indexOf Expected substring: "e7875381-c8dc-44bc-ae06-b3cda8447e1e" Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/test.spec.ts:18:27)
test › Should include only one check: packages/cli/e2e/__tests__/test.spec.ts#L29
expect(received).toContain(expected) // indexOf Expected substring: "Show SECRET_ENV value" Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/test.spec.ts:29:27)
test › Should use different config file: packages/cli/e2e/__tests__/test.spec.ts#L41
expect(received).toContain(expected) // indexOf Expected substring: "Show SECRET_ENV value" Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/test.spec.ts:41:27)
test › Should terminate when no checks are found: packages/cli/e2e/__tests__/test.spec.ts#L63
expect(received).toContain(expected) // indexOf Expected substring: "Unable to find checks to run using [FILEARGS]='" Received string: " Notice: replacing version '0.0.1-dev' with latest '4.1.0'.· Parsing your project... Parsing your project... ! " at Object.<anonymous> (e2e/__tests__/test.spec.ts:63:27)
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#L21
'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
lint: packages/cli/src/commands/test.ts#L320
Forbidden non-null assertion