Skip to content

Commit

Permalink
Fix card.test.ts file
Browse files Browse the repository at this point in the history
  • Loading branch information
4Source committed Sep 21, 2024
1 parent f23f78e commit 17fe3f1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/unit/card.test.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import { RepItemScheduleInfo_Osr } from "src/algorithms/osr/rep-item-schedule-info-osr";
import { Card } from "src/card";
import { Card } from "src/Card";
import { CardScheduleInfo } from "src/CardSchedule";
import { TICKS_PER_DAY } from "src/constants";

describe("Card", () => {
test("format Schedule", () => {
expect(
new Card({
front: "What year did Aegon's Conquest start?",
back: "2BC #flashcards",
front: "What year was the Taliban Emirate founded?",
back: "1996 #flashcards",
}).formatSchedule(),
).toBe("New");
expect(
new Card({
front: "What year did Aegon's Conquest start?",
back: "2BC #flashcards",
scheduleInfo: RepItemScheduleInfo_Osr.fromDueDateStr(
front: "What year was the Taliban Emirate founded?",
back: "1996 #flashcards",
scheduleInfo: CardScheduleInfo.fromDueDateStr(
"2023-09-03",
1,
230,
Expand Down

0 comments on commit 17fe3f1

Please sign in to comment.