Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Extract pure functions from components to increase testability. #1309

Open
badnames opened this issue Apr 19, 2024 · 1 comment
Open

Extract pure functions from components to increase testability. #1309

badnames opened this issue Apr 19, 2024 · 1 comment
Labels
enhancement New feature or request refactor improve code without functional changes

Comments

@badnames
Copy link
Member

Tasks

We may be able to achieve better testability in PermaplanTs frontend by extracting certain pieces of code as pure functions from React-Components.

Use case

No response

Related Pull request

No response

@badnames badnames added enhancement New feature or request refactor improve code without functional changes labels Apr 19, 2024
@markus2330
Copy link
Contributor

markus2330 commented Apr 22, 2024

Is this the same as the point "testability: extract methods into util files to make it easier to test simple methods" in #1152?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request refactor improve code without functional changes
Projects
Status: No status
Development

No branches or pull requests

2 participants