chore: create-cli cleanup #1865
Annotations
15 errors and 10 warnings
loadChecklyConfig() › config TS file should export an object:
packages/cli/src/services/util.ts#L62
Error loading file /home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/__tests__/fixtures/configs/good-config.ts
at loadTsFile (src/services/util.ts:62:15)
at async loadChecklyConfig (src/services/checkly-config-loader.ts:38:18)
at async Object.<anonymous> (src/services/__tests__/checkly-config-loader.spec.ts:38:29)
|
loadChecklyConfig() › config from absolute path:
packages/cli/src/services/util.ts#L62
Error loading file /home/runner/work/checkly-cli/checkly-cli/packages/cli/src/services/__tests__/fixtures/configs/good-config.ts
at loadTsFile (src/services/util.ts:62:15)
at async loadChecklyConfig (src/services/checkly-config-loader.ts:38:18)
at async Object.<anonymous> (src/services/__tests__/checkly-config-loader.spec.ts:70:29)
|
lint
Process completed with exit code 1.
|
deploy › Simple project should deploy successfully (version v4.0.8):
packages/cli/e2e/__tests__/deploy.spec.ts#L97
expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: " › Warning: deploy is not a checkly command.
Did you mean help? [y/n]: "
at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:97:20)
|
deploy › Simple project should deploy successfully (version after v4.0.8):
packages/cli/e2e/__tests__/deploy.spec.ts#L122
expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: " › Warning: deploy is not a checkly command.
Did you mean help? [y/n]: "
at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:122:20)
|
deploy › Simple esm project should deploy successfully:
packages/cli/e2e/__tests__/deploy.spec.ts#L145
expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: " › Warning: deploy is not a checkly command.
Did you mean help? [y/n]: "
at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:145:20)
|
deploy › Should mark testOnly check as skipped:
packages/cli/e2e/__tests__/deploy.spec.ts#L161
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: ""
at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:161:20)
|
deploy › Should mark testOnly check as deleted if there is a deletion:
packages/cli/e2e/__tests__/deploy.spec.ts#L191
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: ""
at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:191:20)
|
deploy › Should deploy with different config file:
packages/cli/e2e/__tests__/deploy.spec.ts#L218
expect(received).not.toEqual(expected) // deep equality
Expected: not ""
at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:218:34)
|
deploy › Should terminate when no resources are found:
packages/cli/e2e/__tests__/deploy.spec.ts#L229
expect(received).toContain(expected) // indexOf
Expected substring: "Failed to deploy your project. Unable to find constructs to deploy."
Received string: " › Warning: deploy is not a checkly command.
Did you mean help? [y/n]: "
at Object.<anonymous> (e2e/__tests__/deploy.spec.ts:229:27)
|
test › Test project should run successfully:
packages/cli/e2e/__tests__/test.spec.ts#L18
expect(received).toContain(expected) // indexOf
Expected substring: "7cfed1e8-6885-48f9-94ed-a08c683e76b8"
Received string: ""
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: ""
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: ""
at Object.<anonymous> (e2e/__tests__/test.spec.ts:41:27)
|
test - windows-latest
The job was canceled because "ubuntu-latest" failed.
|
test - windows-latest
The operation was canceled.
|
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__/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/switch.ts#L3
'prompts' is defined but never used
|
lint:
packages/cli/src/commands/test.ts#L317
Forbidden non-null assertion
|