Skip to content

chore: migrates tests from Enzyme/Mocha to Vitest and React Testing Library #2

chore: migrates tests from Enzyme/Mocha to Vitest and React Testing Library

chore: migrates tests from Enzyme/Mocha to Vitest and React Testing Library #2

Triggered via pull request February 11, 2026 19:32
Status Success
Total duration 28s
Artifacts

ci.yml

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

Annotations

30 warnings
build (22.x): src/index.jsx#L698
Method 'calcLeftOffset' has a complexity of 21. Maximum allowed is 11
build (22.x): src/index.jsx#L698
Method 'calcLeftOffset' has too many statements (40). Maximum allowed is 15
build (22.x): src/index.jsx#L530
Arrow function has a complexity of 22. Maximum allowed is 11
build (22.x): src/index.jsx#L530
Arrow function has too many statements (25). Maximum allowed is 15
build (22.x): src/index.jsx#L427
Method 'render' has a complexity of 16. Maximum allowed is 11
build (22.x): src/index.jsx#L427
Method 'render' has too many statements (16). Maximum allowed is 15
build (22.x): src/index.jsx#L415
This line has a length of 134. Maximum allowed is 130
build (22.x): src/index.jsx#L414
This line has a length of 131. Maximum allowed is 130
build (22.x): src/index.jsx#L230
Method 'fetchImages' has too many statements (16). Maximum allowed is 15
build (22.x): src/index.jsx#L142
Method 'componentDidUpdate' has a complexity of 13. Maximum allowed is 11
build (20.x): src/index.jsx#L698
Method 'calcLeftOffset' has a complexity of 21. Maximum allowed is 11
build (20.x): src/index.jsx#L698
Method 'calcLeftOffset' has too many statements (40). Maximum allowed is 15
build (20.x): src/index.jsx#L530
Arrow function has a complexity of 22. Maximum allowed is 11
build (20.x): src/index.jsx#L530
Arrow function has too many statements (25). Maximum allowed is 15
build (20.x): src/index.jsx#L427
Method 'render' has a complexity of 16. Maximum allowed is 11
build (20.x): src/index.jsx#L427
Method 'render' has too many statements (16). Maximum allowed is 15
build (20.x): src/index.jsx#L415
This line has a length of 134. Maximum allowed is 130
build (20.x): src/index.jsx#L414
This line has a length of 131. Maximum allowed is 130
build (20.x): src/index.jsx#L230
Method 'fetchImages' has too many statements (16). Maximum allowed is 15
build (20.x): src/index.jsx#L142
Method 'componentDidUpdate' has a complexity of 13. Maximum allowed is 11
build (24.x): src/index.jsx#L698
Method 'calcLeftOffset' has a complexity of 21. Maximum allowed is 11
build (24.x): src/index.jsx#L698
Method 'calcLeftOffset' has too many statements (40). Maximum allowed is 15
build (24.x): src/index.jsx#L530
Arrow function has a complexity of 22. Maximum allowed is 11
build (24.x): src/index.jsx#L530
Arrow function has too many statements (25). Maximum allowed is 15
build (24.x): src/index.jsx#L427
Method 'render' has a complexity of 16. Maximum allowed is 11
build (24.x): src/index.jsx#L427
Method 'render' has too many statements (16). Maximum allowed is 15
build (24.x): src/index.jsx#L415
This line has a length of 134. Maximum allowed is 130
build (24.x): src/index.jsx#L414
This line has a length of 131. Maximum allowed is 130
build (24.x): src/index.jsx#L230
Method 'fetchImages' has too many statements (16). Maximum allowed is 15
build (24.x): src/index.jsx#L142
Method 'componentDidUpdate' has a complexity of 13. Maximum allowed is 11