fix: fixing the tests

ref: N25B-392
This commit is contained in:
Björn Otgaar
2025-12-16 14:52:57 +01:00
parent 099afebe98
commit 709dd28959
3 changed files with 31 additions and 30 deletions

View File

@@ -119,7 +119,6 @@ export function NormReduce(node: Node, nodes: Node[]) {
*/
export function NormConnectionTarget(_thisNode: Node, _sourceNodeId: string) {
const data = _thisNode.data as NormNodeData;
// If we got a belief connected, this is a condition for the norm.
if ((useFlowStore.getState().nodes.find((node) => node.id === _sourceNodeId && node.type === 'basic_belief' /* TODO: Add the option for an inferred belief */))) {
data.conditions.push(_sourceNodeId);