Skip to content

Commit b495c31

Browse files
justin808claude
andcommitted
Add missing TestingStreamableComponent for streaming tests
The component was referenced in spec/helpers/react_on_rails_pro_helper_spec.rb but was never created. This was causing test failures in the rspec-dummy-app-node-renderer CI job. The component is a simple test component that returns the expected markup for streaming SSR tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 324805b commit b495c31

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
'use client';
2+
3+
import React from 'react';
4+
5+
// Simple test component for streaming SSR tests
6+
function TestingStreamableComponent({ helloWorldData }) {
7+
return (
8+
<div>
9+
<div>Chunk 1: Stream React Server Components</div>
10+
<div>Hello, {helloWorldData.name}!</div>
11+
</div>
12+
);
13+
}
14+
15+
export default TestingStreamableComponent;

0 commit comments

Comments
 (0)