From e62935b9267ec9b42bf616cdbc552ad5e5ace934 Mon Sep 17 00:00:00 2001 From: Diana Thayer Date: Thu, 9 Jan 2025 20:54:19 -0800 Subject: [PATCH] weh --- test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.js b/test.js index 836d044..04cb4b0 100644 --- a/test.js +++ b/test.js @@ -41,7 +41,7 @@ describe('witch-clock', function () { // season tests const [currentSeason, currentSeasonDate, seasonSince] = witchy.season.current assert.ok(SEASONS.includes(currentSeason), `Unknown season: ${currentSeason}`) - assert.ok(comesafter(witchy.day.rise, currentSeasonDate)) + assert.ok(comesafter(witchy.day.next, currentSeasonDate)) const [upcomingSeason, upcomingSeasonDate, seasonUntil] = witchy.season.upcoming assert.ok(SEASONS.includes(upcomingSeason), `Unknown season: ${upcomingSeason}`) assert.notStrictEqual(currentSeason, upcomingSeason) @@ -53,7 +53,7 @@ describe('witch-clock', function () { // phase tests const [currentPhase, currentPhaseDate, sincePhase] = witchy.moon.current assert.ok(PHASES.includes(currentPhase), `Unknown season: ${currentPhase}`) - assert.ok(comesafter(witchy.day.rise, currentPhaseDate)) + assert.ok(comesafter(witchy.day.next, currentPhaseDate)) const [upcomingPhase, upcomingPhaseDate, tilPhase] = witchy.moon.upcoming assert.ok(PHASES.includes(upcomingPhase), `Unknown phase: ${upcomingPhase}`) assert.notStrictEqual(currentPhase, upcomingPhase)