From cc5162440b8ad0c86edc76bc5a26bfc354b6ea90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20J=2E=20G=C3=B6decke?= Date: Tue, 19 Nov 2024 16:45:54 +0100 Subject: [PATCH] use Section --- tests/unit/TaxOptionsListUtilsTest.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/TaxOptionsListUtilsTest.ts b/tests/unit/TaxOptionsListUtilsTest.ts index 255cedd7c7d5..f0e1eac4826a 100644 --- a/tests/unit/TaxOptionsListUtilsTest.ts +++ b/tests/unit/TaxOptionsListUtilsTest.ts @@ -1,4 +1,4 @@ -import type {CategorySection} from '@libs/OptionsListUtils'; +import type {Section} from '@libs/OptionsListUtils'; import * as TaxOptionsListUtils from '@libs/TaxOptionsListUtils'; import type {Policy, TaxRatesWithDefault, Transaction} from '@src/types/onyx'; @@ -45,7 +45,7 @@ describe('TaxOptionsListUtils', () => { taxCode: 'CODE1', } as Transaction; - const resultList: CategorySection[] = [ + const resultList: Section[] = [ { data: [ { @@ -84,7 +84,7 @@ describe('TaxOptionsListUtils', () => { }, ]; - const searchResultList: CategorySection[] = [ + const searchResultList: Section[] = [ { data: [ { @@ -103,7 +103,7 @@ describe('TaxOptionsListUtils', () => { }, ]; - const wrongSearchResultList: CategorySection[] = [ + const wrongSearchResultList: Section[] = [ { data: [], shouldShow: true,