Tnolet/json reporter #2140
Annotations
5 errors and 12 warnings
JsonBuilder › renders basic JSON output with run errors:
packages/cli/src/reporters/__tests__/json-builder.spec.ts#L25
expect(received).toMatchSnapshot(hint)
Snapshot name: `JsonBuilder renders basic JSON output with run errors: json-basic 1`
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
Received:
"{
"numChecks": 2,
"runLocation": "eu-west-1",
"checks": [
{
"result": "Pass",
"name": "my-test.spec.ts",
"checkType": "BROWSER",
"durationMilliseconds": 6522,
"filename": "src/__checks__/folder/browser.check.ts",
"link": null,
"runError": "Run error"
},
{
"result": "Pass",
"name": "Test API check",
"checkType": "API",
"durationMilliseconds": 1234,
"filename": "src/some-other-folder/api.check.ts",
"link": null,
"runError": "Run error"
}
]
}"
at Object.<anonymous> (src/reporters/__tests__/json-builder.spec.ts:25:18)
|
JsonBuilder › renders JSON markdown output with assets & links:
packages/cli/src/reporters/__tests__/json-builder.spec.ts#L35
expect(received).toMatchSnapshot(hint)
Snapshot name: `JsonBuilder renders JSON markdown output with assets & links: json-with-assets-links 1`
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
Received:
"{
"testSessionId": "0c4c64b3-79c5-44a6-ae07-b580ce73f328",
"numChecks": 2,
"runLocation": "eu-west-1",
"checks": [
{
"result": "Pass",
"name": "my-test.spec.ts",
"checkType": "BROWSER",
"durationMilliseconds": 6522,
"filename": "src/__checks__/folder/browser.check.ts",
"link": "https://app.checklyhq.com/test-sessions/0c4c64b3-79c5-44a6-ae07-b580ce73f328/results/702961fd-7e2c-45f0-97be-1aa9eabd4d82",
"runError": "Run error"
},
{
"result": "Pass",
"name": "Test API check",
"checkType": "API",
"durationMilliseconds": 1234,
"filename": "src/some-other-folder/api.check.ts",
"link": "https://app.checklyhq.com/test-sessions/0c4c64b3-79c5-44a6-ae07-b580ce73f328/results/1c0be612-a5ec-432e-ac1c-837d2f70c010",
"runError": "Run error"
}
]
}"
at Object.<anonymous> (src/reporters/__tests__/json-builder.spec.ts:35:18)
|
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
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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/snapshot-project-missing-snapshots/checkly.config.ts#L5
Forbidden non-null assertion
|
lint:
packages/cli/e2e/__tests__/fixtures/snapshot-project/checkly.config.ts#L5
Forbidden non-null assertion
|
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
|
test - ubuntu-latest
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|