From 616e78b009df117bc1c32b723989c3d6c56ca3a4 Mon Sep 17 00:00:00 2001 From: Francisco Salgueiro Date: Fri, 10 Nov 2023 13:06:58 +0000 Subject: [PATCH] fix analysis test --- src/utils/tests/treeReducer.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/tests/treeReducer.test.ts b/src/utils/tests/treeReducer.test.ts index d04b6cd3..e82bfad3 100644 --- a/src/utils/tests/treeReducer.test.ts +++ b/src/utils/tests/treeReducer.test.ts @@ -495,11 +495,11 @@ test("should handle ADD_ANALYSIS", () => { position: [0], dirty: true, }; - expectedState.root.children[0].score = { + expectedState.root.score = { type: "cp", value: 10, }; - expectedState.root.children[0].children[0].score = { + expectedState.root.children[0].score = { type: "cp", value: 20, };