Skip to content

Commit

Permalink
new default
Browse files Browse the repository at this point in the history
  • Loading branch information
pcraig3 committed May 8, 2024
1 parent b75cfe5 commit 98f4d1d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/dates/__tests__/index.test.js
Expand Up @@ -122,10 +122,6 @@ describe('Test getLiteralDate', () => {
test(`returns correct 2023 ISO date string for: "${day.str}"`, () => {
expect(getLiteralDate(day.str, 2023)).toEqual(day.iso)
})

test(`DEFAULT returns correct ISO date string for: "${day.str}"`, () => {
expect(getLiteralDate(day.str)).toEqual(day.iso)
})
})
})

Expand Down Expand Up @@ -157,6 +153,10 @@ describe('Test getLiteralDate', () => {
test(`returns correct 2024 ISO date string for: "${day.str}"`, () => {
expect(getLiteralDate(day.str, 2024)).toEqual(day.iso)
})

test(`DEFAULT returns correct ISO date string for: "${day.str}"`, () => {
expect(getLiteralDate(day.str)).toEqual(day.iso)
})
})
})

Expand Down Expand Up @@ -376,10 +376,6 @@ describe('Test getObservedDate', () => {
test(`returns correct 2023 ISO date string for: "${day.str}"`, () => {
expect(getObservedDate(day.str, 2023)).toEqual(day.iso)
})

test(`DEFAULT returns correct ISO date string for: "${day.str}"`, () => {
expect(getObservedDate(day.str)).toEqual(day.iso)
})
})
})

Expand Down Expand Up @@ -411,6 +407,10 @@ describe('Test getObservedDate', () => {
test(`returns correct 2024 ISO date string for: "${day.str}"`, () => {
expect(getObservedDate(day.str, 2024)).toEqual(day.iso)
})

test(`abc DEFAULT returns correct ISO date string for: "${day.str}"`, () => {
expect(getObservedDate(day.str)).toEqual(day.iso)
})
})
})

Expand Down

0 comments on commit 98f4d1d

Please sign in to comment.