fix(curriculum): enforce powerSource initial state value in step 3 (#65666)

This commit is contained in:
Jeevankumar S
2026-02-12 16:36:52 +05:30
committed by GitHub
parent 35db9055a6
commit fe9d40a70b

View File

@@ -38,7 +38,7 @@ Your `useState` hook for `powerSource` should have an initial value of empty str
const _a = eval(script);
const _b = await __helpers.prepTestComponent(exports.SuperheroForm);
assert.equal(abuseState.calls[2]?.[0], "");
assert.strictEqual(abuseState.calls[2]?.[0], "");
```
You should use array destructuring to set a `powers` state variable and a `setPowers` setter.