From 77405c5c21c6a87c57a0661be59017158469900e Mon Sep 17 00:00:00 2001 From: maskeynihal <26411488+maskeynihal@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:46:26 +0545 Subject: [PATCH] chore: add test for checking holiday on specific date --- tests/Countries/NepalTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/Countries/NepalTest.php b/tests/Countries/NepalTest.php index b1bf9883..d0d2681c 100644 --- a/tests/Countries/NepalTest.php +++ b/tests/Countries/NepalTest.php @@ -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(); +});