Skip to content

Commit bc86277

Browse files
committed
chore: add comments
1 parent feb813d commit bc86277

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

packages/runtime-vapor/__tests__/componentEmits.spec.ts

+12-6
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,13 @@ describe('component: emit', () => {
182182
expect(fn2).toHaveBeenCalledWith(1)
183183
})
184184

185-
test.todo('warning for undeclared event (array)', () => {})
185+
test.todo('warning for undeclared event (array)', () => {
186+
// TODO: warning
187+
})
186188

187-
test.todo('warning for undeclared event (object)', () => {})
189+
test.todo('warning for undeclared event (object)', () => {
190+
// TODO: warning
191+
})
188192

189193
test('should not warn if has equivalent onXXX prop', () => {
190194
const Foo = defineComponent({
@@ -201,7 +205,9 @@ describe('component: emit', () => {
201205
).not.toHaveBeenWarned()
202206
})
203207

204-
test.todo('validator warning', () => {})
208+
test.todo('validator warning', () => {
209+
// TODO: warning validator
210+
})
205211

206212
// NOTE: not supported mixins
207213
// test.todo('merging from mixins', () => {})
@@ -476,7 +482,7 @@ describe('component: emit', () => {
476482
expect(fn).not.toHaveBeenCalled()
477483
})
478484

479-
test.todo('merge string array emits', async () => {})
480-
481-
test.todo('merge object emits', async () => {})
485+
// NOTE: not supported mixins
486+
// test.todo('merge string array emits', async () => {})
487+
// test.todo('merge object emits', async () => {})
482488
})

0 commit comments

Comments
 (0)