hts/packages/isdk/rsc/__snapshots__/streamable.ui.test.tsx.snap

92 lines
1.6 KiB
Plaintext

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`rsc - render() > should emit React Nodes with async render function 1`] = `
{
"children": {
"children": {},
"props": {
"c": undefined,
"n": {
"done": false,
"next": {
"done": true,
"value": <div>
Weather
</div>,
},
"value": <div>
Weather
</div>,
},
},
"type": "",
},
"props": {
"fallback": undefined,
},
"type": "Symbol(react.suspense)",
}
`;
exports[`rsc - render() > should emit React Nodes with generator render function 1`] = `
{
"children": {
"children": {},
"props": {
"c": undefined,
"n": {
"done": false,
"next": {
"done": false,
"next": {
"done": true,
"value": <div>
Weather
</div>,
},
"value": <div>
Weather
</div>,
},
"value": <div>
Loading...
</div>,
},
},
"type": "",
},
"props": {
"fallback": undefined,
},
"type": "Symbol(react.suspense)",
}
`;
exports[`rsc - render() > should emit React Nodes with sync render function 1`] = `
{
"children": {
"children": {},
"props": {
"c": undefined,
"n": {
"done": false,
"next": {
"done": true,
"value": <div>
Weather
</div>,
},
"value": <div>
Weather
</div>,
},
},
"type": "",
},
"props": {
"fallback": undefined,
},
"type": "Symbol(react.suspense)",
}
`;