From d77011d05adc7616a09ef0f67b2b31766debe822 Mon Sep 17 00:00:00 2001 From: Emmanuel Zamora Date: Sat, 23 Sep 2023 00:05:20 -0300 Subject: [PATCH] remove comments --- src/evaluator/__tests__/evaluate-features.spec.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/evaluator/__tests__/evaluate-features.spec.ts b/src/evaluator/__tests__/evaluate-features.spec.ts index 0d6116bc..c914599d 100644 --- a/src/evaluator/__tests__/evaluate-features.spec.ts +++ b/src/evaluator/__tests__/evaluate-features.spec.ts @@ -181,16 +181,9 @@ test('EVALUATOR - Multiple evaluations at once by flagsets / should return right expect(multipleEvaluationAtOnceByFlagSets.evaluations).toEqual({}); multipleEvaluationAtOnceByFlagSets = await getResultsByFlagsets(['reg_and_config']).evaluations; - expect(multipleEvaluationAtOnceByFlagSets['config']).toEqual(expectedOutput['config']); // If the split is retrieved successfully we should get the right evaluation result, label and config. - // @todo assert flagset not found - for input validations - - // assert regular - expect(multipleEvaluationAtOnceByFlagSets['regular']).toEqual({ ...expectedOutput['config'], config: null }); // If the split is retrieved successfully we should get the right evaluation result, label and config. If Split has no config it should have config equal null. - // assert killed + expect(multipleEvaluationAtOnceByFlagSets['config']).toEqual(expectedOutput['config']); + expect(multipleEvaluationAtOnceByFlagSets['regular']).toEqual({ ...expectedOutput['config'], config: null }); expect(multipleEvaluationAtOnceByFlagSets['killed']).toEqual(undefined); - // 'If the split is retrieved but is killed, we should get the right evaluation result, label and config. - - // assert archived expect(multipleEvaluationAtOnceByFlagSets['archived']).toEqual(undefined); });