From 5b88a1398190e8642eccfe3f1a30c6a32d27fc2d Mon Sep 17 00:00:00 2001 From: Tomasz Lesniakiewicz Date: Fri, 15 Mar 2024 12:40:51 +0100 Subject: [PATCH] chore: cleanup --- src/libs/OptionsListUtils.ts | 5 ----- tests/perf-test/OptionsListUtils.perf-test.ts | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/libs/OptionsListUtils.ts b/src/libs/OptionsListUtils.ts index 710221197e4c..3de3d1622405 100644 --- a/src/libs/OptionsListUtils.ts +++ b/src/libs/OptionsListUtils.ts @@ -1829,11 +1829,6 @@ function getFilteredOptions( taxRates: TaxRatesWithDefault = {} as TaxRatesWithDefault, includeSelfDM = false, ) { - // console.log('personalDetails: ', personalDetails); - // console.log('selectedOptions: ', selectedOptions); - // console.log('tags: ', tags); - // console.log('taxRates: ', taxRates); - return getOptions(reports, personalDetails, { betas, searchInputValue: searchValue.trim(), diff --git a/tests/perf-test/OptionsListUtils.perf-test.ts b/tests/perf-test/OptionsListUtils.perf-test.ts index 5c11bd1ca027..d81be3165919 100644 --- a/tests/perf-test/OptionsListUtils.perf-test.ts +++ b/tests/perf-test/OptionsListUtils.perf-test.ts @@ -59,7 +59,7 @@ describe('OptionsListUtils', () => { }); /* Testing getFilteredOptions */ - test('[OptionsListUtils] getFilteredOptions with test value', async () => { + test('[OptionsListUtils] getFilteredOptions with search value', async () => { await waitForBatchedUpdates(); await measureFunction(() => OptionsListUtils.getFilteredOptions(reports, personalDetails, mockedBetas, SEARCH_VALUE)); });