Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions lesson_07/conditionals/src/part_g.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import * as jest from "@jest/globals";
import { daysUntilBirthday, findLargestNumber, isPalindrome } from "./part_g.js";
import {
daysUntilBirthday,
findLargestNumber,
isPalindrome,
} from "./part_g.js";

const describe =
!process.env.HW_VERSION || process.env.HW_VERSION === "G"
Expand Down Expand Up @@ -38,7 +42,7 @@ describe("isPalindrome", () => {
});

it("should ignore spaces", () => {
expect(isPalindrome("race car")).toBe(false);
expect(isPalindrome("race car")).toBe(true);
expect(isPalindrome("taco cat")).toBe(true);
});

Expand Down
Loading