// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`comments only a comment 1`] = `
"function anonymous(app, bdom, helpers
) {
let { text, createBlock, list, multi, html, toggler, comment } = bdom;
return function template(ctx, node, key = \\"\\") {
return comment(\` comment\`);
}
}"
`;
exports[`comments properly handle comments 1`] = `
"function anonymous(app, bdom, helpers
) {
let { text, createBlock, list, multi, html, toggler, comment } = bdom;
let block1 = createBlock(\`
hello owl
\`);
return function template(ctx, node, key = \\"\\") {
return block1();
}
}"
`;
exports[`comments properly handle comments between t-if/t-else 1`] = `
"function anonymous(app, bdom, helpers
) {
let { text, createBlock, list, multi, html, toggler, comment } = bdom;
let block1 = createBlock(\`
\`);
let block2 = createBlock(\`true\`);
let block3 = createBlock(\`owl\`);
return function template(ctx, node, key = \\"\\") {
let b2,b3;
if (true) {
b2 = block2();
} else {
b3 = block3();
}
return block1([], [b2, b3]);
}
}"
`;