Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nanodino committed Oct 5, 2023
1 parent 375740b commit 3606b26
Show file tree
Hide file tree
Showing 38 changed files with 191 additions and 29 deletions.
4 changes: 2 additions & 2 deletions test/fixtures/US-DC-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@
"date": "2019-10-14 00:00:00",
"start": "2019-10-14T04:00:00.000Z",
"end": "2019-10-15T04:00:00.000Z",
"name": "Columbus Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/US-DC-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@
"date": "2020-10-12 00:00:00",
"start": "2020-10-12T04:00:00.000Z",
"end": "2020-10-13T04:00:00.000Z",
"name": "Columbus Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/US-DC-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@
"date": "2021-10-11 00:00:00",
"start": "2021-10-11T04:00:00.000Z",
"end": "2021-10-12T04:00:00.000Z",
"name": "Columbus Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/US-DC-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@
"date": "2022-10-10 00:00:00",
"start": "2022-10-10T04:00:00.000Z",
"end": "2022-10-11T04:00:00.000Z",
"name": "Columbus Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/US-DC-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@
"date": "2023-10-09 00:00:00",
"start": "2023-10-09T04:00:00.000Z",
"end": "2023-10-10T04:00:00.000Z",
"name": "Columbus Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/US-DC-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@
"date": "2024-10-14 00:00:00",
"start": "2024-10-14T04:00:00.000Z",
"end": "2024-10-15T04:00:00.000Z",
"name": "Columbus Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/US-DC-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@
"date": "2025-10-13 00:00:00",
"start": "2025-10-13T04:00:00.000Z",
"end": "2025-10-14T04:00:00.000Z",
"name": "Columbus Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/US-DC-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@
"date": "2026-10-12 00:00:00",
"start": "2026-10-12T04:00:00.000Z",
"end": "2026-10-13T04:00:00.000Z",
"name": "Columbus Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/US-DC-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@
"date": "2027-10-11 00:00:00",
"start": "2027-10-11T04:00:00.000Z",
"end": "2027-10-12T04:00:00.000Z",
"name": "Columbus Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-ME-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2019-10-14 00:00:00",
"start": "2019-10-14T04:00:00.000Z",
"end": "2019-10-15T04:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2019-10-31 18:00:00",
"start": "2019-10-31T22:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-ME-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2020-10-12 00:00:00",
"start": "2020-10-12T04:00:00.000Z",
"end": "2020-10-13T04:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2020-10-31 18:00:00",
"start": "2020-10-31T22:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-ME-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2021-10-11 00:00:00",
"start": "2021-10-11T04:00:00.000Z",
"end": "2021-10-12T04:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2021-10-31 18:00:00",
"start": "2021-10-31T22:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-ME-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2022-10-10 00:00:00",
"start": "2022-10-10T04:00:00.000Z",
"end": "2022-10-11T04:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2022-10-31 18:00:00",
"start": "2022-10-31T22:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-ME-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2023-10-09 00:00:00",
"start": "2023-10-09T04:00:00.000Z",
"end": "2023-10-10T04:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2023-10-31 18:00:00",
"start": "2023-10-31T22:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-ME-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2024-10-14 00:00:00",
"start": "2024-10-14T04:00:00.000Z",
"end": "2024-10-15T04:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2024-10-31 18:00:00",
"start": "2024-10-31T22:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-ME-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2025-10-13 00:00:00",
"start": "2025-10-13T04:00:00.000Z",
"end": "2025-10-14T04:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2025-10-31 18:00:00",
"start": "2025-10-31T22:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-ME-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2026-10-12 00:00:00",
"start": "2026-10-12T04:00:00.000Z",
"end": "2026-10-13T04:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2026-10-31 18:00:00",
"start": "2026-10-31T22:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-ME-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2027-10-11 00:00:00",
"start": "2027-10-11T04:00:00.000Z",
"end": "2027-10-12T04:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2027-10-31 18:00:00",
"start": "2027-10-31T22:00:00.000Z",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-MN-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"date": "2017-10-09 00:00:00",
"start": "2017-10-09T05:00:00.000Z",
"end": "2017-10-10T05:00:00.000Z",
"name": "Indigenous Peoples Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-MN-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"date": "2018-10-08 00:00:00",
"start": "2018-10-08T05:00:00.000Z",
"end": "2018-10-09T05:00:00.000Z",
"name": "Indigenous Peoples Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-MN-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"date": "2019-10-14 00:00:00",
"start": "2019-10-14T05:00:00.000Z",
"end": "2019-10-15T05:00:00.000Z",
"name": "Indigenous Peoples Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-MN-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"date": "2020-10-12 00:00:00",
"start": "2020-10-12T05:00:00.000Z",
"end": "2020-10-13T05:00:00.000Z",
"name": "Indigenous Peoples Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-MN-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"date": "2021-10-11 00:00:00",
"start": "2021-10-11T05:00:00.000Z",
"end": "2021-10-12T05:00:00.000Z",
"name": "Indigenous Peoples Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-MN-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"date": "2022-10-10 00:00:00",
"start": "2022-10-10T05:00:00.000Z",
"end": "2022-10-11T05:00:00.000Z",
"name": "Indigenous Peoples Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-MN-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"date": "2023-10-09 00:00:00",
"start": "2023-10-09T05:00:00.000Z",
"end": "2023-10-10T05:00:00.000Z",
"name": "Indigenous Peoples Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-MN-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"date": "2024-10-14 00:00:00",
"start": "2024-10-14T05:00:00.000Z",
"end": "2024-10-15T05:00:00.000Z",
"name": "Indigenous Peoples Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-MN-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"date": "2025-10-13 00:00:00",
"start": "2025-10-13T05:00:00.000Z",
"end": "2025-10-14T05:00:00.000Z",
"name": "Indigenous Peoples Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-MN-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"date": "2026-10-12 00:00:00",
"start": "2026-10-12T05:00:00.000Z",
"end": "2026-10-13T05:00:00.000Z",
"name": "Indigenous Peoples Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/US-MN-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"date": "2027-10-11 00:00:00",
"start": "2027-10-11T05:00:00.000Z",
"end": "2027-10-12T05:00:00.000Z",
"name": "Indigenous Peoples Day",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-NM-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2019-10-14 00:00:00",
"start": "2019-10-14T06:00:00.000Z",
"end": "2019-10-15T06:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2019-10-31 18:00:00",
"start": "2019-11-01T00:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-NM-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2020-10-12 00:00:00",
"start": "2020-10-12T06:00:00.000Z",
"end": "2020-10-13T06:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2020-10-31 18:00:00",
"start": "2020-11-01T00:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/US-NM-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,15 @@
"rule": "2nd monday in October",
"_weekday": "Mon"
},
{
"date": "2021-10-11 00:00:00",
"start": "2021-10-11T06:00:00.000Z",
"end": "2021-10-12T06:00:00.000Z",
"name": "Indigenous Peoples' Day",
"type": "public",
"rule": "2nd monday in October #1",
"_weekday": "Mon"
},
{
"date": "2021-10-31 18:00:00",
"start": "2021-11-01T00:00:00.000Z",
Expand Down
Loading

0 comments on commit 3606b26

Please sign in to comment.