// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`refs basic use 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { singleRefSetter } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { const refs = this.__owl__.refs; const ref1 = singleRefSetter(refs, \`root\`); const v1 = ctx['state']; let hdlr1 = [()=>v1.renderId++, ctx]; const b2 = block2([hdlr1]); const tKey_1 = ctx['state'].renderId; const b3 = toggler(tKey_1, block3([ref1])); return multi([b2, b3]); } }" `; exports[`refs refs are properly bound in slots 1`] = ` "function anonymous(app, bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, comment } = bdom; let { capture, singleRefSetter, markRaw } = helpers; const comp1 = app.createComponent(\`Dialog\`, true, true, false, true); let block1 = createBlock(\`