Skip to content

Commit

Permalink
💚 Fix AOL tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Jul 12, 2023
1 parent 4828504 commit f28aa9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import dayjs from "dayjs";

import { google, yahoo, outlook, outlookMobile, office365, office365Mobile, ics } from "./index";
import { google, yahoo, aol, outlook, outlookMobile, office365, office365Mobile, ics } from "./index";
import { TimeFormats } from "./utils";
import { CalendarEvent } from "./interfaces";

Expand Down Expand Up @@ -250,7 +250,7 @@ describe("Calendar Links", () => {
start: "2019-12-29",
duration: [2, "hour"],
};
const link = yahoo(event);
const link = aol(event);
const sTime: String = dayjs(event.start).utc().format(TimeFormats.dateTimeUTC);
const eTime: String = dayjs(event.start).add(2, "hour").utc().format(TimeFormats.dateTimeUTC);

Expand All @@ -265,7 +265,7 @@ describe("Calendar Links", () => {
start: "2019-12-29",
allDay: true,
};
const link = yahoo(event);
const link = aol(event);
const sTime: String = dayjs(event.start).utc().format(TimeFormats.allDay);
const eTime: String = dayjs(event.start).add(1, "day").utc().format(TimeFormats.allDay);

Expand Down

0 comments on commit f28aa9a

Please sign in to comment.