From 7f27d8e005f16cb3fac853b95cd22a2ec138b3dd Mon Sep 17 00:00:00 2001 From: Jeevankumar S <110320697+Jeevankumar-s@users.noreply.github.com> Date: Thu, 12 Feb 2026 18:45:25 +0530 Subject: [PATCH] fix(curriculum): enforce heroName and realName initial state value in step 2 (#65856) --- .../680900675ae3d54ee19590c3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/blocks/workshop-superhero-application-form/680900675ae3d54ee19590c3.md b/curriculum/challenges/english/blocks/workshop-superhero-application-form/680900675ae3d54ee19590c3.md index 22aa7cc1049..8995621701f 100644 --- a/curriculum/challenges/english/blocks/workshop-superhero-application-form/680900675ae3d54ee19590c3.md +++ b/curriculum/challenges/english/blocks/workshop-superhero-application-form/680900675ae3d54ee19590c3.md @@ -40,7 +40,7 @@ Your `useState` hook for `heroName` should have an initial value of empty string const _a = eval(script); const _b = await __helpers.prepTestComponent(exports.SuperheroForm); - assert.equal(abuseState.calls[0]?.[0], ""); + assert.strictEqual(abuseState.calls[0]?.[0], ""); ``` You should use the array destructuring syntax to set a `realName` state variable and a `setRealName` setter. @@ -70,7 +70,7 @@ Your `useState` hook for `realName` should have an initial value of empty string const _a = eval(script); const _b = await __helpers.prepTestComponent(exports.SuperheroForm); - assert.equal(abuseState.calls[1]?.[0], ""); + assert.strictEqual(abuseState.calls[1]?.[0], ""); ``` # --seed--