chore: update module to node16 [gh-0] #1974
Triggered via pull request
September 21, 2023 08:05
Status
Failure
Total duration
5m 46s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
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: "021ab743-a025-4ed7-997c-ae4bbc335881"
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: "6a462f31-6a77-4c8f-874b-bb38c1883384"
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/e2e/__tests__/fixtures/trigger-project/checks.check.ts#L4
Forbidden non-null assertion
|
lint:
packages/cli/src/commands/test.ts#L320
Forbidden non-null assertion
|