|
|
@@ -111,12 +111,10 @@ describe('renderer: teleport', () => {
|
|
|
root,
|
|
|
)
|
|
|
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><!--teleport end--><div>root</div>"`,
|
|
|
- )
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
+ expect(serializeInner(target)).toBe(`<div>teleported</div>`)
|
|
|
})
|
|
|
|
|
|
test('should work with SVG', async () => {
|
|
|
@@ -142,8 +140,8 @@ describe('renderer: teleport', () => {
|
|
|
|
|
|
await nextTick()
|
|
|
|
|
|
- expect(root.innerHTML).toMatchInlineSnapshot(
|
|
|
- `"<svg><circle></circle></svg><!--teleport start--><!--teleport end-->"`,
|
|
|
+ expect(root.innerHTML).toBe(
|
|
|
+ `<svg><circle></circle></svg><!--teleport start--><!--teleport end-->`,
|
|
|
)
|
|
|
|
|
|
expect(svg.value.namespaceURI).toBe('http://www.w3.org/2000/svg')
|
|
|
@@ -164,24 +162,20 @@ describe('renderer: teleport', () => {
|
|
|
root,
|
|
|
)
|
|
|
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><!--teleport end--><div>root</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
- expect(serializeInner(targetA)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div>"`,
|
|
|
- )
|
|
|
- expect(serializeInner(targetB)).toMatchInlineSnapshot(`""`)
|
|
|
+ expect(serializeInner(targetA)).toBe(`<div>teleported</div>`)
|
|
|
+ expect(serializeInner(targetB)).toBe(``)
|
|
|
|
|
|
target.value = targetB
|
|
|
await nextTick()
|
|
|
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><!--teleport end--><div>root</div>"`,
|
|
|
- )
|
|
|
- expect(serializeInner(targetA)).toMatchInlineSnapshot(`""`)
|
|
|
- expect(serializeInner(targetB)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
+ expect(serializeInner(targetA)).toBe(``)
|
|
|
+ expect(serializeInner(targetB)).toBe(`<div>teleported</div>`)
|
|
|
})
|
|
|
|
|
|
test('should update children', async () => {
|
|
|
@@ -193,19 +187,17 @@ describe('renderer: teleport', () => {
|
|
|
h(() => h(Teleport, { to: target }, children.value)),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div>"`,
|
|
|
- )
|
|
|
+ expect(serializeInner(target)).toBe(`<div>teleported</div>`)
|
|
|
|
|
|
children.value = []
|
|
|
await nextTick()
|
|
|
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(`""`)
|
|
|
+ expect(serializeInner(target)).toBe(``)
|
|
|
|
|
|
children.value = [createVNode(Text, null, 'teleported')]
|
|
|
await nextTick()
|
|
|
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(`"teleported"`)
|
|
|
+ expect(serializeInner(target)).toBe(`teleported`)
|
|
|
})
|
|
|
|
|
|
test('should remove children when unmounted', () => {
|
|
|
@@ -220,8 +212,8 @@ describe('renderer: teleport', () => {
|
|
|
]),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- props.disabled ? `""` : `"<div>teleported</div>"`,
|
|
|
+ expect(serializeInner(target)).toBe(
|
|
|
+ props.disabled ? `` : `<div>teleported</div>`,
|
|
|
)
|
|
|
|
|
|
render(null, root)
|
|
|
@@ -248,7 +240,7 @@ describe('renderer: teleport', () => {
|
|
|
h(() => [h(Teleport, { to: target }, h(Comp)), h('div', 'root')]),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(`"<p></p><p></p>"`)
|
|
|
+ expect(serializeInner(target)).toBe(`<p></p><p></p>`)
|
|
|
|
|
|
render(null, root)
|
|
|
expect(serializeInner(target)).toBe('')
|
|
|
@@ -291,12 +283,10 @@ describe('renderer: teleport', () => {
|
|
|
root,
|
|
|
)
|
|
|
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<div><!--teleport start--><!--teleport end--><!--teleport start--><!--teleport end--></div>"`,
|
|
|
- )
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>one</div>two"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<div><!--teleport start--><!--teleport end--><!--teleport start--><!--teleport end--></div>`,
|
|
|
)
|
|
|
+ expect(serializeInner(target)).toBe(`<div>one</div>two`)
|
|
|
|
|
|
// update existing content
|
|
|
render(
|
|
|
@@ -306,16 +296,14 @@ describe('renderer: teleport', () => {
|
|
|
]),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>one</div><div>two</div>three"`,
|
|
|
- )
|
|
|
+ expect(serializeInner(target)).toBe(`<div>one</div><div>two</div>three`)
|
|
|
|
|
|
// toggling
|
|
|
render(h('div', [null, h(Teleport, { to: target }, 'three')]), root)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<div><!----><!--teleport start--><!--teleport end--></div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<div><!----><!--teleport start--><!--teleport end--></div>`,
|
|
|
)
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(`"three"`)
|
|
|
+ expect(serializeInner(target)).toBe(`three`)
|
|
|
|
|
|
// toggle back
|
|
|
render(
|
|
|
@@ -325,13 +313,11 @@ describe('renderer: teleport', () => {
|
|
|
]),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<div><!--teleport start--><!--teleport end--><!--teleport start--><!--teleport end--></div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<div><!--teleport start--><!--teleport end--><!--teleport start--><!--teleport end--></div>`,
|
|
|
)
|
|
|
// should append
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"three<div>one</div><div>two</div>"`,
|
|
|
- )
|
|
|
+ expect(serializeInner(target)).toBe(`three<div>one</div><div>two</div>`)
|
|
|
|
|
|
// toggle the other teleport
|
|
|
render(
|
|
|
@@ -341,12 +327,10 @@ describe('renderer: teleport', () => {
|
|
|
]),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<div><!--teleport start--><!--teleport end--><!----></div>"`,
|
|
|
- )
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>one</div><div>two</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<div><!--teleport start--><!--teleport end--><!----></div>`,
|
|
|
)
|
|
|
+ expect(serializeInner(target)).toBe(`<div>one</div><div>two</div>`)
|
|
|
})
|
|
|
|
|
|
test('should work when using template ref as target', async () => {
|
|
|
@@ -368,14 +352,14 @@ describe('renderer: teleport', () => {
|
|
|
},
|
|
|
}
|
|
|
render(h(App), root)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<div></div><!--teleport start--><div>teleported</div><!--teleport end-->"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<div></div><!--teleport start--><div>teleported</div><!--teleport end-->`,
|
|
|
)
|
|
|
|
|
|
disabled.value = false
|
|
|
await nextTick()
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<div><div>teleported</div></div><!--teleport start--><!--teleport end-->"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<div><div>teleported</div></div><!--teleport start--><!--teleport end-->`,
|
|
|
)
|
|
|
})
|
|
|
|
|
|
@@ -391,27 +375,23 @@ describe('renderer: teleport', () => {
|
|
|
}
|
|
|
|
|
|
render(renderWithDisabled(false), root)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><!--teleport end--><div>root</div>"`,
|
|
|
- )
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
+ expect(serializeInner(target)).toBe(`<div>teleported</div>`)
|
|
|
|
|
|
render(renderWithDisabled(true), root)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><div>teleported</div><!--teleport end--><div>root</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><div>teleported</div><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
expect(serializeInner(target)).toBe(``)
|
|
|
|
|
|
// toggle back
|
|
|
render(renderWithDisabled(false), root)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><!--teleport end--><div>root</div>"`,
|
|
|
- )
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
+ expect(serializeInner(target)).toBe(`<div>teleported</div>`)
|
|
|
})
|
|
|
|
|
|
test('moving teleport while enabled', () => {
|
|
|
@@ -425,12 +405,10 @@ describe('renderer: teleport', () => {
|
|
|
]),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><!--teleport end--><div>root</div>"`,
|
|
|
- )
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
+ expect(serializeInner(target)).toBe(`<div>teleported</div>`)
|
|
|
|
|
|
render(
|
|
|
h(Fragment, [
|
|
|
@@ -439,12 +417,10 @@ describe('renderer: teleport', () => {
|
|
|
]),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<div>root</div><!--teleport start--><!--teleport end-->"`,
|
|
|
- )
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<div>root</div><!--teleport start--><!--teleport end-->`,
|
|
|
)
|
|
|
+ expect(serializeInner(target)).toBe(`<div>teleported</div>`)
|
|
|
|
|
|
render(
|
|
|
h(Fragment, [
|
|
|
@@ -453,12 +429,10 @@ describe('renderer: teleport', () => {
|
|
|
]),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><!--teleport end--><div>root</div>"`,
|
|
|
- )
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
+ expect(serializeInner(target)).toBe(`<div>teleported</div>`)
|
|
|
})
|
|
|
|
|
|
test('moving teleport while disabled', () => {
|
|
|
@@ -472,8 +446,8 @@ describe('renderer: teleport', () => {
|
|
|
]),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><div>teleported</div><!--teleport end--><div>root</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><div>teleported</div><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
expect(serializeInner(target)).toBe('')
|
|
|
|
|
|
@@ -484,8 +458,8 @@ describe('renderer: teleport', () => {
|
|
|
]),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<div>root</div><!--teleport start--><div>teleported</div><!--teleport end-->"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<div>root</div><!--teleport start--><div>teleported</div><!--teleport end-->`,
|
|
|
)
|
|
|
expect(serializeInner(target)).toBe('')
|
|
|
|
|
|
@@ -496,8 +470,8 @@ describe('renderer: teleport', () => {
|
|
|
]),
|
|
|
root,
|
|
|
)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><div>teleported</div><!--teleport end--><div>root</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><div>teleported</div><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
expect(serializeInner(target)).toBe('')
|
|
|
})
|
|
|
@@ -522,28 +496,28 @@ describe('renderer: teleport', () => {
|
|
|
`),
|
|
|
}
|
|
|
render(h(App), root)
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><!--teleport end--><div>root</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div><span>false</span><!--v-if-->"`,
|
|
|
+ expect(serializeInner(target)).toBe(
|
|
|
+ `<div>teleported</div><span>false</span><!--v-if-->`,
|
|
|
)
|
|
|
|
|
|
disabled.value = true
|
|
|
await nextTick()
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><div>teleported</div><span>true</span><span></span><!--teleport end--><div>root</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><div>teleported</div><span>true</span><span></span><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
expect(serializeInner(target)).toBe(``)
|
|
|
|
|
|
// toggle back
|
|
|
disabled.value = false
|
|
|
await nextTick()
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><!--teleport end--><div>root</div>"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><!--teleport end--><div>root</div>`,
|
|
|
)
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div><span>false</span><!--v-if-->"`,
|
|
|
+ expect(serializeInner(target)).toBe(
|
|
|
+ `<div>teleported</div><span>false</span><!--v-if-->`,
|
|
|
)
|
|
|
})
|
|
|
|
|
|
@@ -570,18 +544,18 @@ describe('renderer: teleport', () => {
|
|
|
})
|
|
|
app.mount(root)
|
|
|
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(
|
|
|
- `"<!--teleport start--><!--teleport end-->"`,
|
|
|
+ expect(serializeInner(root)).toBe(
|
|
|
+ `<!--teleport start--><!--teleport end-->`,
|
|
|
)
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(`"<div>foo</div>"`)
|
|
|
+ expect(serializeInner(target)).toBe(`<div>foo</div>`)
|
|
|
await nextTick()
|
|
|
expect(dir.mounted).toHaveBeenCalledTimes(1)
|
|
|
expect(dir.unmounted).toHaveBeenCalledTimes(0)
|
|
|
|
|
|
toggle.value = false
|
|
|
await nextTick()
|
|
|
- expect(serializeInner(root)).toMatchInlineSnapshot(`"<!---->"`)
|
|
|
- expect(serializeInner(target)).toMatchInlineSnapshot(`""`)
|
|
|
+ expect(serializeInner(root)).toBe(`<!---->`)
|
|
|
+ expect(serializeInner(target)).toBe(``)
|
|
|
expect(dir.mounted).toHaveBeenCalledTimes(1)
|
|
|
expect(dir.unmounted).toHaveBeenCalledTimes(1)
|
|
|
})
|
|
|
@@ -610,33 +584,29 @@ describe('renderer: teleport', () => {
|
|
|
render(h(App), root)
|
|
|
disabled.value = false
|
|
|
await nextTick()
|
|
|
- expect(serializeInner(target1)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div>"`,
|
|
|
- )
|
|
|
- expect(serializeInner(target2)).toMatchInlineSnapshot(`""`)
|
|
|
- expect(serializeInner(target3)).toMatchInlineSnapshot(`""`)
|
|
|
+ expect(serializeInner(target1)).toBe(`<div>teleported</div>`)
|
|
|
+ expect(serializeInner(target2)).toBe(``)
|
|
|
+ expect(serializeInner(target3)).toBe(``)
|
|
|
|
|
|
disabled.value = true
|
|
|
await nextTick()
|
|
|
target.value = target2
|
|
|
await nextTick()
|
|
|
- expect(serializeInner(target1)).toMatchInlineSnapshot(`""`)
|
|
|
- expect(serializeInner(target2)).toMatchInlineSnapshot(`""`)
|
|
|
- expect(serializeInner(target3)).toMatchInlineSnapshot(`""`)
|
|
|
+ expect(serializeInner(target1)).toBe(``)
|
|
|
+ expect(serializeInner(target2)).toBe(``)
|
|
|
+ expect(serializeInner(target3)).toBe(``)
|
|
|
|
|
|
target.value = target3
|
|
|
await nextTick()
|
|
|
- expect(serializeInner(target1)).toMatchInlineSnapshot(`""`)
|
|
|
- expect(serializeInner(target2)).toMatchInlineSnapshot(`""`)
|
|
|
- expect(serializeInner(target3)).toMatchInlineSnapshot(`""`)
|
|
|
+ expect(serializeInner(target1)).toBe(``)
|
|
|
+ expect(serializeInner(target2)).toBe(``)
|
|
|
+ expect(serializeInner(target3)).toBe(``)
|
|
|
|
|
|
disabled.value = false
|
|
|
await nextTick()
|
|
|
- expect(serializeInner(target1)).toMatchInlineSnapshot(`""`)
|
|
|
- expect(serializeInner(target2)).toMatchInlineSnapshot(`""`)
|
|
|
- expect(serializeInner(target3)).toMatchInlineSnapshot(
|
|
|
- `"<div>teleported</div>"`,
|
|
|
- )
|
|
|
+ expect(serializeInner(target1)).toBe(``)
|
|
|
+ expect(serializeInner(target2)).toBe(``)
|
|
|
+ expect(serializeInner(target3)).toBe(`<div>teleported</div>`)
|
|
|
})
|
|
|
|
|
|
//#9071
|
|
|
@@ -654,19 +624,19 @@ describe('renderer: teleport', () => {
|
|
|
})
|
|
|
|
|
|
domRender(h(App), root)
|
|
|
- expect(root.innerHTML).toMatchInlineSnapshot('"<div>foo</div>"')
|
|
|
+ expect(root.innerHTML).toBe('<div>foo</div>')
|
|
|
|
|
|
show.value = true
|
|
|
await nextTick()
|
|
|
|
|
|
- expect(root.innerHTML).toMatchInlineSnapshot(
|
|
|
- '"<!--teleport start--><!--teleport end--><div>teleported</div>"',
|
|
|
+ expect(root.innerHTML).toBe(
|
|
|
+ '<!--teleport start--><!--teleport end--><div>teleported</div>',
|
|
|
)
|
|
|
|
|
|
show.value = false
|
|
|
await nextTick()
|
|
|
|
|
|
- expect(root.innerHTML).toMatchInlineSnapshot('"<div>foo</div>"')
|
|
|
+ expect(root.innerHTML).toBe('<div>foo</div>')
|
|
|
})
|
|
|
|
|
|
test('unmount previous sibling node inside target node', async () => {
|
|
|
@@ -693,17 +663,17 @@ describe('renderer: teleport', () => {
|
|
|
})
|
|
|
|
|
|
domRender(h(App), root)
|
|
|
- expect(root.innerHTML).toMatchInlineSnapshot('"<!--v-if-->"')
|
|
|
+ expect(root.innerHTML).toBe('<!--v-if-->')
|
|
|
|
|
|
parentShow.value = true
|
|
|
await nextTick()
|
|
|
- expect(root.innerHTML).toMatchInlineSnapshot(
|
|
|
- '"<!--teleport start--><!--teleport end--><div>foo</div>"',
|
|
|
+ expect(root.innerHTML).toBe(
|
|
|
+ '<!--teleport start--><!--teleport end--><div>foo</div>',
|
|
|
)
|
|
|
|
|
|
parentShow.value = false
|
|
|
await nextTick()
|
|
|
- expect(root.innerHTML).toMatchInlineSnapshot('"<!--v-if-->"')
|
|
|
+ expect(root.innerHTML).toBe('<!--v-if-->')
|
|
|
})
|
|
|
|
|
|
test('accessing template refs inside teleport', async () => {
|