Commit Graph

55 Commits

Author SHA1 Message Date
JGerla
023e1d2b8b test: Added tests for setNodes and setEdges.
ref: N25B-114
2025-10-25 14:59:34 +02:00
JGerla
ea79de5ee5 style: restructured and renamed VisProg.test.tsx to VisProgStores.test.tsx
renamed as the functionality being tested is contained within the VisProgStores.tsx file and thus the filename for the tests should reflect that relation, so order is preserved in the project.
also added a second describe layer to group the tests for all FlowStore functions together for organisational purposes.

ref: N25B-114
2025-10-25 13:57:37 +02:00
JGerla
8513be5a56 test: added test for onConnect event
ref: N25B-114
2025-10-22 16:30:24 +02:00
JGerla
3bd1aa99e3 chore: added setupFlowTests.ts for ReactFlow specific testing
added Setup config for mocking reactflow based on the provided information in ReactFlow documentation

ref: N25B-114
2025-10-22 15:43:47 +02:00
JGerla
cbacf924f9 chore: added basic jest testing support
also added an example test for the counter in the components.tsx file to demonstrate functionality of testing configuration. installed all dependencies for testing using --save-dev to make sure they are stored as dev dependencies

ref: N25B-212
2025-10-21 22:18:10 +02:00