Skip to content

Commit e8730c2

Browse files
committed
test: add failing test
1 parent 612037a commit e8730c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/template.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ describe('transform typescript template', () => {
1111

1212
expect(await fixture(`<div v-for="(item as string, index) in items as unknown[]" :key="item" :index>{{ item }}</div>`))
1313
.toEqual(`<div v-for="(item, index) in items" :key="item" :index>{{ item }}</div>`)
14+
15+
expect(await fixture(`<div v-for="(item, index) of items" />`))
16+
.toEqual(`<div v-for="(item, index) of items" />`)
1417
})
1518

1619
it('v-if', async () => {

0 commit comments

Comments
 (0)