Skip to content

Commit 12fc70d

Browse files
fix: use "it" fn
1 parent 42c2d1c commit 12fc70d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ describe('api: lifecycle hooks', () => {
341341
// ])
342342
})
343343

344-
test('onRenderTracked', async () => {
344+
it('onRenderTracked', async () => {
345345
const events: DebuggerEvent[] = []
346346
const onTrack = vi.fn((e: DebuggerEvent) => {
347347
events.push(e)
@@ -382,7 +382,7 @@ describe('api: lifecycle hooks', () => {
382382
])
383383
})
384384

385-
test('onRenderTrigger', async () => {
385+
it('onRenderTrigger', async () => {
386386
const events: DebuggerEvent[] = []
387387
const onTrigger = vi.fn((e: DebuggerEvent) => {
388388
events.push(e)
@@ -462,7 +462,7 @@ describe('api: lifecycle hooks', () => {
462462
})
463463

464464
// #136
465-
test('should trigger updated hooks across components. (parent -> child)', async () => {
465+
it('should trigger updated hooks across components. (parent -> child)', async () => {
466466
const handleUpdated = vi.fn()
467467
const handleUpdatedChild = vi.fn()
468468

@@ -507,7 +507,7 @@ describe('api: lifecycle hooks', () => {
507507
})
508508

509509
// #136
510-
test('should trigger updated hooks across components. (child -> parent)', async () => {
510+
it('should trigger updated hooks across components. (child -> parent)', async () => {
511511
const handleUpdated = vi.fn()
512512
const handleUpdatedChild = vi.fn()
513513

0 commit comments

Comments
 (0)