Skip to content

Commit 2252f1e

Browse files
committed
Code formatted and translate routing destination test updated
1 parent 9b4357c commit 2252f1e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/eq_schema/builders/basicQuestionnaireJSON.js

-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ const questionnaireJson = {
9292
},
9393
],
9494
},
95-
9695
{
9796
id: "3",
9897
title: "<p>Section 3</p>",

src/eq_schema/builders/routing2/translateRoutingDestination/index.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe("Translation of a routing destination", () => {
5757
logical: "NextPage",
5858
};
5959
expect(
60-
translateRoutingDestination(authorDestination, "3", { questionnaireJson })
60+
translateRoutingDestination(authorDestination, "4", { questionnaireJson })
6161
).toMatchObject({ group: "confirmation-group" });
6262
});
6363

@@ -66,7 +66,7 @@ describe("Translation of a routing destination", () => {
6666
logical: "NextPage",
6767
};
6868
expect(
69-
translateRoutingDestination(authorDestination, "3", {
69+
translateRoutingDestination(authorDestination, "4", {
7070
questionnaireJson: questionnaireJsonWithSummary,
7171
})
7272
).toMatchObject({ group: "summary-group" });

0 commit comments

Comments
 (0)