Skip to content

Commit 78cae15

Browse files
committed
test: add startingNodeId to flow validation tests for improved context
1 parent e54fb78 commit 78cae15

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/flowValidation.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ describe('getFlowValidation - Integrationstest', () => {
88
it('1', () => {
99

1010
const flow: Flow = {
11+
startingNodeId: "gid://sagittarius/NodeFunction/1",
1112
nodes: {
1213
nodes: [
1314
{
@@ -51,7 +52,7 @@ describe('getFlowValidation - Integrationstest', () => {
5152
__typename: "ReferenceValue",
5253
nodeFunctionId: "gid://sagittarius/NodeFunction/2",
5354
parameterIndex: 1,
54-
inputIndex: 0, //TODO: Das wird gerade einfach nicht berücksichtigt
55+
inputIndex: 0,
5556
referencePath: [{path: "test"}]
5657
}
5758
},
@@ -149,6 +150,7 @@ describe('getFlowValidation - Integrationstest', () => {
149150
it('4', () => {
150151

151152
const flow: Flow = {
153+
startingNodeId: "gid://sagittarius/NodeFunction/1",
152154
nodes: {
153155
nodes: [
154156
{
@@ -198,6 +200,7 @@ describe('getFlowValidation - Integrationstest', () => {
198200
it('5', () => {
199201

200202
const flow: Flow = {
203+
startingNodeId: "gid://sagittarius/NodeFunction/2",
201204
nodes: {
202205
nodes: [
203206
{

0 commit comments

Comments
 (0)