From 045f1b030688cc495d5ba18ea5943a4a8a4614fa Mon Sep 17 00:00:00 2001 From: thatblindgeye Date: Sat, 8 Apr 2023 15:44:15 -0400 Subject: [PATCH] Update solutions file for palindrome --- 09_palindromes/palindromes.spec.js | 2 +- 09_palindromes/solution/palindromes-solution.spec.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/09_palindromes/palindromes.spec.js b/09_palindromes/palindromes.spec.js index 9c039c7..ba34a4d 100644 --- a/09_palindromes/palindromes.spec.js +++ b/09_palindromes/palindromes.spec.js @@ -19,7 +19,7 @@ describe('palindromes', () => { test.skip('doesn\'t just always return true', () => { expect(palindromes('ZZZZ car, a man, a maracaz.')).toBe(false); }); - test('works with numbers in a string', () => { + test.skip('works with numbers in a string', () => { expect(palindromes('rac3e3car')).toBe(true); }); }); diff --git a/09_palindromes/solution/palindromes-solution.spec.js b/09_palindromes/solution/palindromes-solution.spec.js index c2538aa..e8d7e6a 100644 --- a/09_palindromes/solution/palindromes-solution.spec.js +++ b/09_palindromes/solution/palindromes-solution.spec.js @@ -21,4 +21,7 @@ describe('palindromes', () => { test("doesn't just always return true", () => { expect(palindromes('ZZZZ car, a man, a maraca.')).toBe(false); }); + test('works with numbers in a string', () => { + expect(palindromes('rac3e3car')).toBe(true); + }); });