import { h } from 'preact'; import { renderToElementTemplate, runCase } from '../_shared.js'; export function run() { return runCase(({ root, nativeLog }) => { const { rootRefs } = renderToElementTemplate(h('_et_foo', { $0: 'A', $1: 'B' })); rootRefs.forEach(rootRef => __InsertNodeToElementTemplate(root, 0, rootRef, null)); return { output: { rootChild: root.children?.[0], }, files: { 'native-log.txt': nativeLog, }, }; }); }