Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
froddd committed Jan 7, 2025
1 parent a37376e commit ea86662
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/utils/match/occupancy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('dayAvailabilityCount', () => {
})

describe('dayAvailabilityStatus', () => {
describe('when no criteria is provided', () => {
describe('when no criteria are provided', () => {
it('returns available if there is availability', () => {
const capacityForDay = cas1PremiseCapacityForDayFactory.available().build()

Expand All @@ -82,7 +82,7 @@ describe('dayAvailabilityStatus', () => {
})
})

describe('when criteria is provided', () => {
describe('when criteria are provided', () => {
describe('if there is general availability', () => {
const availableCapacity = cas1PremiseCapacityForDayFactory.available().build({
characteristicAvailability: [
Expand Down Expand Up @@ -122,7 +122,7 @@ describe('dayAvailabilityStatus', () => {
})

describe('dayAvailabilitySummaryListItems', () => {
describe('when no criteria is provided', () => {
describe('when no criteria are provided', () => {
it('returns a summary list with main availability for the day', () => {
const summaryList = dayAvailabilitySummaryListItems(capacityWithCriteria)

Expand All @@ -134,7 +134,7 @@ describe('dayAvailabilitySummaryListItems', () => {
})
})

describe('when criteria is provided', () => {
describe('when criteria are provided', () => {
it('returns a summary list with detailed availability for the selected criteria', () => {
const summaryList = dayAvailabilitySummaryListItems(capacityWithCriteria, [
'isSuitedForSexOffenders',
Expand Down

0 comments on commit ea86662

Please sign in to comment.