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

@@ -257,7 +257,6 @@ describe('component: proxy', () => {
expect(instanceProxy.isDisplayed).toBe(true)
})
test('allow jest spying on proxy methods with Object.defineProperty', () => {
// #5417
let instanceProxy: any
@@ -426,7 +425,6 @@ describe('component: proxy', () => {
expect(instanceProxy.fromProp).toBe(false)
})
// #864
test('should not warn declared but absent props', () => {
const Comp = {

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'])
})
})