Skip to content

[#12588] Part of Improve test code coverage of core components #10550

[#12588] Part of Improve test code coverage of core components

[#12588] Part of Improve test code coverage of core components #10550

Triggered via pull request October 23, 2024 02:13
Status Failure
Total duration 10m 42s
Artifacts

component.yml

on: pull_request
Matrix: component-testing
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 10 warnings
lint (ubuntu-latest): src/web/app/components/rich-text-editor/rich-text-editor.component.spec.ts#L138
Return values from promise executor functions cannot be read
lint (ubuntu-latest): src/web/app/components/sessions-table/sessions-table.component.spec.ts#L19
`./sessions-table-model` import should occur before import of `./sessions-table.component`
lint (ubuntu-latest): src/web/app/components/sessions-table/sessions-table.component.spec.ts#L21
`../../../services/simple-modal.service` import should occur before import of `../teammates-router/teammates-router.module`
lint (ubuntu-latest): src/web/app/components/sessions-table/sessions-table.component.spec.ts#L22
`../copy-session-modal/copy-session-modal.component` import should occur before import of `../teammates-router/teammates-router.module`
lint (ubuntu-latest): src/web/app/components/sessions-table/sessions-table.component.spec.ts#L25
`../../../types/api-output` import should occur before import of `../teammates-router/teammates-router.module`
component-testing (ubuntu-latest)
Process completed with exit code 1.
lint (windows-latest): src/web/app/components/rich-text-editor/rich-text-editor.component.spec.ts#L138
Return values from promise executor functions cannot be read
lint (windows-latest): src/web/app/components/sessions-table/sessions-table.component.spec.ts#L19
`./sessions-table-model` import should occur before import of `./sessions-table.component`
lint (windows-latest): src/web/app/components/sessions-table/sessions-table.component.spec.ts#L21
`../../../services/simple-modal.service` import should occur before import of `../teammates-router/teammates-router.module`
lint (windows-latest): src/web/app/components/sessions-table/sessions-table.component.spec.ts#L22
`../copy-session-modal/copy-session-modal.component` import should occur before import of `../teammates-router/teammates-router.module`
lint (windows-latest): src/web/app/components/sessions-table/sessions-table.component.spec.ts#L25
`../../../types/api-output` import should occur before import of `../teammates-router/teammates-router.module`
component-testing (windows-latest)
Process completed with exit code 1.
lint (ubuntu-latest): src/web/app/components/copy-course-modal/copy-course-modal-model.ts#L4
The type 'CopyCourseModalComponent' is undefined
lint (ubuntu-latest): src/web/app/components/copy-session-modal/copy-session-modal-model.ts#L2
The type 'CopySessionModalComponent' is undefined
lint (windows-latest): src/web/app/components/copy-course-modal/copy-course-modal-model.ts#L4
The type 'CopyCourseModalComponent' is undefined
lint (windows-latest): src/web/app/components/copy-session-modal/copy-session-modal-model.ts#L2
The type 'CopySessionModalComponent' is undefined