Skip to content

Commit

Permalink
use Section
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Nov 19, 2024
1 parent 3cd70cb commit cc51624
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/TaxOptionsListUtilsTest.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down Expand Up @@ -45,7 +45,7 @@ describe('TaxOptionsListUtils', () => {
taxCode: 'CODE1',
} as Transaction;

const resultList: CategorySection[] = [
const resultList: Section[] = [
{
data: [
{
Expand Down Expand Up @@ -84,7 +84,7 @@ describe('TaxOptionsListUtils', () => {
},
];

const searchResultList: CategorySection[] = [
const searchResultList: Section[] = [
{
data: [
{
Expand All @@ -103,7 +103,7 @@ describe('TaxOptionsListUtils', () => {
},
];

const wrongSearchResultList: CategorySection[] = [
const wrongSearchResultList: Section[] = [
{
data: [],
shouldShow: true,
Expand Down

0 comments on commit cc51624

Please sign in to comment.