From 76996d0499f56af83a30fb3061c4d7969a83ea29 Mon Sep 17 00:00:00 2001 From: c-bata Date: Sat, 31 Dec 2022 21:59:54 +0900 Subject: [PATCH] Fix tests --- typescript_tests/TrialTable.test.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/typescript_tests/TrialTable.test.tsx b/typescript_tests/TrialTable.test.tsx index da9bdeca..7bee85c9 100644 --- a/typescript_tests/TrialTable.test.tsx +++ b/typescript_tests/TrialTable.test.tsx @@ -43,35 +43,31 @@ const trials = [ const study_direction: StudyDirection = "minimize" as StudyDirection -const studyDetail = { +const studyDetail: StudyDetail = { id: 1, name: "study_0", directions: [study_direction], datetime_start: new Date("2021-06-15T00:00:00"), - best_trial: trials[1], + best_trials: [trials[1]], trials: trials, intersection_search_space: [ { name: "x", distribution: "FloatDistribution" as Distribution, - attributes: { low: -3, high: 3 }, }, { name: "y", distribution: "FloatDistribution" as Distribution, - attributes: { low: -3, high: 3 }, }, ], union_search_space: [ { name: "x", distribution: "FloatDistribution" as Distribution, - attributes: { low: -3, high: 3 }, }, { name: "y", distribution: "FloatDistribution" as Distribution, - attributes: { low: -3, high: 3 }, }, ], union_user_attrs: [