From 5a1cb8ee2a1aed9986bd7bcfa5177228fa6a07ce Mon Sep 17 00:00:00 2001 From: Ilenia <26656284+ilenia-magoni@users.noreply.github.com> Date: Tue, 22 Apr 2025 19:06:48 +0200 Subject: [PATCH] chore: upgrade tests to current standards in palindrome checker lab (#59843) --- .../lab-palindrome-checker/657bdc55a322aae1eac3838f.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/25-front-end-development/lab-palindrome-checker/657bdc55a322aae1eac3838f.md b/curriculum/challenges/english/25-front-end-development/lab-palindrome-checker/657bdc55a322aae1eac3838f.md index 84616c23624..182866b86e6 100644 --- a/curriculum/challenges/english/25-front-end-development/lab-palindrome-checker/657bdc55a322aae1eac3838f.md +++ b/curriculum/challenges/english/25-front-end-development/lab-palindrome-checker/657bdc55a322aae1eac3838f.md @@ -54,7 +54,7 @@ You should have a `div`, `span`, or `p` element with an `id` of `"result"`. ```js const el = document.getElementById('result'); -assert(['div', 'span', 'p'].includes(el?.nodeName?.toLowerCase())); +assert.oneOf(el?.nodeName?.toLowerCase(), ['div', 'span', 'p']); ``` When you click on the `#check-btn` element without entering a value into the `#text-input` element, an alert should appear with the text `Please input a value`.