Skip to content

Commit 6e9bad9

Browse files
NullVoxPopuliclaude
andcommitted
Fix smoke test shadow fn to return a function
Same fix as the integration test — the shadowed fn must return a function since its return value is passed to the on modifier. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 53eaacd commit 6e9bad9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

smoke-tests/scenarios/basic-test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ function basicTest(scenarios: Scenarios, appName: string) {
393393
// shadows keyword!
394394
const fn = () => {
395395
assert.step('shadowed:fn:invoke');
396+
return () => {};
396397
};
397398
398399
class Demo extends Component {

0 commit comments

Comments
 (0)