Skip to content

CodeRabbit Generated Unit Tests: Add Vitest unit tests for attachment-upload with XSS protection #3421

CodeRabbit Generated Unit Tests: Add Vitest unit tests for attachment-upload with XSS protection

CodeRabbit Generated Unit Tests: Add Vitest unit tests for attachment-upload with XSS protection #3421

Triggered via pull request December 26, 2025 22:07
Status Failure
Total duration 1m 41s
Artifacts

build.yml

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

Annotations

25 errors
phpMyFAQ 8.3 Test on ubuntu-latest
Process completed with exit code 1.
phpMyFAQ 8.3 Test on ubuntu-latest: phpmyfaq/admin/assets/src/content/attachment-upload.test.ts#L1062
'originalInnerHTML' is assigned a value but never used
phpMyFAQ 8.3 Test on ubuntu-latest: phpmyfaq/admin/assets/src/content/attachment-upload.test.ts#L22
'mockAttachmentRecordLang' is assigned a value but never used
phpMyFAQ 8.3 Test on ubuntu-latest: phpmyfaq/admin/assets/src/content/attachment-upload.test.ts#L21
'mockAttachmentRecordId' is assigned a value but never used
phpMyFAQ 8.5 Test on ubuntu-latest
The strategy configuration was canceled because "run.ubuntu-latest_8_3" failed
phpMyFAQ 8.5 Test on ubuntu-latest
Process completed with exit code 1.
phpMyFAQ 8.5 Test on ubuntu-latest: phpmyfaq/admin/assets/src/content/attachment-upload.test.ts#L1062
'originalInnerHTML' is assigned a value but never used
phpMyFAQ 8.5 Test on ubuntu-latest: phpmyfaq/admin/assets/src/content/attachment-upload.test.ts#L22
'mockAttachmentRecordLang' is assigned a value but never used
phpMyFAQ 8.5 Test on ubuntu-latest: phpmyfaq/admin/assets/src/content/attachment-upload.test.ts#L21
'mockAttachmentRecordId' is assigned a value but never used
phpMyFAQ 8.4 Test on ubuntu-latest
The strategy configuration was canceled because "run.ubuntu-latest_8_3" failed
phpMyFAQ 8.4 Test on ubuntu-latest
The operation was canceled.
phpMyFAQ 8.6 Test on ubuntu-latest
The strategy configuration was canceled because "run.ubuntu-latest_8_3" failed
phpMyFAQ 8.6 Test on ubuntu-latest
The operation was canceled.