Tresjs / tres

Declarative ThreeJS using Vue Components
https://tresjs.org
MIT License
1.93k stars 86 forks source link

Better test coverage for core #631

Closed andretchen0 closed 2 months ago

andretchen0 commented 3 months ago

Description

As a developer trying to respond to issues filed against the TresJS core, I would like to have a more significant portion of /src/core/nodeOps.ts covered by unit tests.

This will allow us to respond more quickly to issues filed against the core, and to modify the core with more confidence and fewer regressions.

Here's where pnpm coverage puts us currently.

File                                    | % Stmts | % Branch | % Funcs | % Lines |
  nodeOps.ts                            |   48.49 |    37.14 |   26.66 |   48.49 |

Suggested solution

Improve test coverage of core functionality.

Alternative

No response

Additional context

No response

Validations