chore: add no-debugger eslint rule (#5906)

This commit is contained in:
Cédric Exbrayat
2022-05-13 01:10:00 +02:00
committed by GitHub
parent 8a123ac34f
commit 9ecee16f89
9 changed files with 23 additions and 29 deletions

View File

@@ -443,10 +443,8 @@ describe('api: template refs', () => {
expect(mapRefs()).toMatchObject(['2', '3', '4'])
})
test('named ref in v-for', async () => {
const show = ref(true);
const show = ref(true)
const list = reactive([1, 2, 3])
const listRefs = ref([])
const mapRefs = () => listRefs.value.map(n => serializeInner(n))
@@ -495,6 +493,4 @@ describe('api: template refs', () => {
await nextTick()
expect(mapRefs()).toMatchObject(['2', '3', '4'])
})
})