Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemorawski committed Apr 16, 2024
1 parent ef3ecdc commit 68fc67f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/unit/OptionsListUtilsTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -812,12 +812,14 @@ describe('OptionsListUtils', () => {
isSelected: false,
},
],
indexOffset: 3,
},
];
const smallSearchResultList: OptionsListUtils.CategoryTreeSection[] = [
{
title: '',
shouldShow: true,
indexOffset: 2,
data: [
{
text: 'Food',
Expand All @@ -842,6 +844,7 @@ describe('OptionsListUtils', () => {
{
title: '',
shouldShow: true,
indexOffset: 0,
data: [],
},
];
Expand Down Expand Up @@ -977,6 +980,7 @@ describe('OptionsListUtils', () => {
{
title: '',
shouldShow: false,
indexOffset: 1,
data: [
{
text: 'Medical',
Expand All @@ -991,6 +995,7 @@ describe('OptionsListUtils', () => {
{
title: 'Recent',
shouldShow: true,
indexOffset: 1,
data: [
{
text: 'Restaurant',
Expand All @@ -1005,6 +1010,7 @@ describe('OptionsListUtils', () => {
{
title: 'All',
shouldShow: true,
indexOffset: 11,
data: [
{
text: 'Cars',
Expand Down Expand Up @@ -1101,6 +1107,7 @@ describe('OptionsListUtils', () => {
{
title: '',
shouldShow: true,
indexOffset: 3,
data: [
{
text: 'Food',
Expand Down Expand Up @@ -1133,6 +1140,7 @@ describe('OptionsListUtils', () => {
{
title: '',
shouldShow: true,
indexOffset: 0,
data: [],
},
];
Expand All @@ -1141,6 +1149,7 @@ describe('OptionsListUtils', () => {
{
title: '',
shouldShow: false,
indexOffset: 1,
data: [
{
text: 'Medical',
Expand Down

0 comments on commit 68fc67f

Please sign in to comment.