Skip to content

replacing babel with swc for compiling #5211

replacing babel with swc for compiling

replacing babel with swc for compiling #5211

Triggered via pull request March 4, 2026 17:26
Status Failure
Total duration 2m 42s
Artifacts

unit.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
run-unit-tests: packages/@lwc/swc-plugin-component/src/decorators/wire.ts#L18
'BlockStatement' is defined but never used
run-unit-tests: packages/@lwc/swc-plugin-component/src/decorators/index.ts#L264
'state' is defined but never used. Allowed unused args must match /^_/u
run-unit-tests: packages/@lwc/swc-plugin-component/src/decorators/index.ts#L36
'ModuleItem' is defined but never used
run-unit-tests: packages/@lwc/swc-plugin-component/src/decorators/index.ts#L13
'LWC_COMPONENT_PROPERTIES' is defined but never used
run-unit-tests: packages/@lwc/swc-plugin-component/src/component.ts#L25
'ClassExpression' is defined but never used
run-unit-tests: packages/@lwc/swc-plugin-component/src/__tests__/index.spec.ts#L108
Avoid calling `expect` inside conditional statements
run-unit-tests: packages/@lwc/swc-plugin-component/src/__tests__/index.spec.ts#L102
Avoid calling `expect` inside conditional statements
run-unit-tests: packages/@lwc/swc-plugin-component/src/__tests__/index.spec.ts#L87
Test title must be a string, a function or class name
run-unit-tests: packages/@lwc/swc-plugin-component/src/__tests__/index.spec.ts#L85
'fixtureName' is assigned a value but never used
run-unit-tests: packages/@lwc/compiler/src/transformers/javascript.ts#L81
Unnecessary try/catch wrapper