From 7b52cbe9cab18534cd64798965000b8d8ccc5d25 Mon Sep 17 00:00:00 2001 From: Peppa Date: Mon, 16 Nov 2026 06:29:04 +0500 Subject: [PATCH] =?UTF-8?q?WTC-26:=20=D1=82=D0=B5=D1=81=D1=82=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=B4=20=D0=BD=D0=BE=D0=B2=D0=BE=D0=B5=20=D1=83=D1=81?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=D0=B8=D0=B5=20=D0=BF=D0=BE=D0=B4=D1=81=D0=BA?= =?UTF-8?q?=D0=B0=D0=B7=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- test/recipe-example.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/recipe-example.test.js b/test/recipe-example.test.js index 494f186..c60ec5d 100644 --- a/test/recipe-example.test.js +++ b/test/recipe-example.test.js @@ -53,7 +53,7 @@ test("Сценарий: Своё блюдо в списке", () => { assert.equal(findRecipe("Мамин пирог"), null); assert.match(messages.ru.noRecipeHint, /«Рецепта нет»/); assert.ok(messages.ru.noRecipeHint.includes(messages.ru.noRecipe)); - assert.match(read("app.js"), /\$\("noRecipeHint"\)\.hidden = !hasNoRecipe\(state\.dishes, findRecipe\)/); + assert.match(read("app.js"), /\$\("noRecipeHint"\)\.hidden = n !== 0 && !hasNoRecipe\(state\.dishes, findRecipe\)/); const html = read("index.html"); assert.ok(html.indexOf('id="list"') < html.indexOf('id="noRecipeHint"')); });