Files
owl/tests/components/__snapshots__/t_call_block.test.ts.snap
T
2022-02-11 10:18:01 +01:00

17 lines
528 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`t-call-block simple t-call-block with static text 1`] = `
"function anonymous(bdom, helpers
) {
let { text, createBlock, list, multi, html, toggler, component } = bdom;
let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, shallowEqual } = helpers;
let block1 = createBlock(\`<div><block-child-0/></div>\`);
return function template(ctx, node, key = \\"\\") {
let b2 = ctx['myBlock']();
return block1([], [b2]);
}
}"
`;