@18f/us-federal-holidays
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -143,2 +143,3 @@ const dayjs = require("dayjs"); | ||
name: holiday.name, | ||
alsoObservedAs: holiday.alsoObservedAs, | ||
date: date.toDate(), | ||
@@ -145,0 +146,0 @@ dateString: date.format("YYYY-MM-DD") |
@@ -150,2 +150,10 @@ const tap = require("tap"); | ||
); | ||
// Make sure the alsoObservedAs property gets pulled through | ||
if ( | ||
holiday.name === "Washington's Birthday" || | ||
holiday.name === "Columbus Day" | ||
) { | ||
test.ok(holiday.alsoObservedAs); | ||
} | ||
}); | ||
@@ -152,0 +160,0 @@ } |
{ | ||
"name": "@18f/us-federal-holidays", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "All about US federal holidays", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
28401
475