Skip to content

Commit

Permalink
chore: add test for checking holiday on specific date
Browse files Browse the repository at this point in the history
  • Loading branch information
maskeynihal committed Oct 18, 2024
1 parent 63b2434 commit 77405c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Countries/NepalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@

expect(formatDates($holidays))->toMatchSnapshot();
});

it('checks for holidays in Nepal for 2025', function () {
$isHoliday = Holidays::for('np')->isHoliday('2025-03-13');

expect($isHoliday)->toBeTrue();
});

0 comments on commit 77405c5

Please sign in to comment.