test(core): Fix a typo and add an additional test (#12725)

This commit is contained in:
Danny Martini
2025-01-20 16:56:12 +01:00
committed by GitHub
parent 967ee4b89b
commit d25817c5cc
2 changed files with 41 additions and 1 deletions
@@ -24,7 +24,7 @@ export function cleanRunData(
// Delete runData for subNodes
const subNodeConnections = graph.getParentConnections(node);
for (const subNodeConnection of subNodeConnections) {
// Sub nodes never use the Main connection type, so this filters our
// Sub nodes never use the Main connection type, so this filters out
// the connection that goes upstream of the startNode.
if (subNodeConnection.type === NodeConnectionType.Main) {
continue;