main
js 15 lines 395 Bytes
Raw
1 import {makeObject_Primitives, Stringify} from 'shared-runtime';
2
3 function Component(props) {
4 const object = {object: props.object};
5 const entries = Object.entries(object);
6 entries.map(([, value]) => {
7 value.updated = true;
8 });
9 return <Stringify entries={entries} />;
10 }
11
12 export const FIXTURE_ENTRYPOINT = {
13 fn: Component,
14 params: [{object: {key: makeObject_Primitives()}}],
15 };