Skip to content

Commit

Permalink
chore: nx format:write update dirty files
Browse files Browse the repository at this point in the history
  • Loading branch information
andes-it committed Jan 21, 2025
1 parent 1c67458 commit 91397b4
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions libs/judicial-system/types/src/lib/dates.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@ describe('getIndictmentAppealDeadlineDate', () => {
})

describe('getAppealDeadlineDate', () => {
test('should return expected appeal deadline', () => {
// Arrange
const baseDate = new Date(2024, 1, 1)

// Act
const actualDate = getAppealDeadlineDate({ baseDate })

// Assert
expect(actualDate).toStrictEqual(new Date(2024, 1, 4, 23, 59, 59, 999))
})
test('should return expected appeal deadline', () => {
// Arrange
const baseDate = new Date(2024, 1, 1)

// Act
const actualDate = getAppealDeadlineDate({ baseDate })

// Assert
expect(actualDate).toStrictEqual(new Date(2024, 1, 4, 23, 59, 59, 999))
})
})

0 comments on commit 91397b4

Please sign in to comment.