We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac05dac commit 0a69ac4Copy full SHA for 0a69ac4
lesson_07/conditionals/src/part_g.test.ts
@@ -1,5 +1,9 @@
1
import * as jest from "@jest/globals";
2
-import { daysUntilBirthday, findLargestNumber, isPalindrome } from "./part_g.js";
+import {
3
+ daysUntilBirthday,
4
+ findLargestNumber,
5
+ isPalindrome,
6
+} from "./part_g.js";
7
8
const describe =
9
!process.env.HW_VERSION || process.env.HW_VERSION === "G"
@@ -38,7 +42,7 @@ describe("isPalindrome", () => {
38
42
});
39
43
40
44
it("should ignore spaces", () => {
41
- expect(isPalindrome("race car")).toBe(false);
45
+ expect(isPalindrome("race car")).toBe(true);
46
expect(isPalindrome("taco cat")).toBe(true);
47
48
0 commit comments