Skip to content

Commit

Permalink
fix: use "it" fn
Browse files Browse the repository at this point in the history
  • Loading branch information
ubugeeei committed May 21, 2024
1 parent 42c2d1c commit a265416
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/runtime-vapor/__tests__/apiLifecycle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ describe('api: lifecycle hooks', () => {
// ])
})

test('onRenderTracked', async () => {
it('onRenderTracked', async () => {
const events: DebuggerEvent[] = []
const onTrack = vi.fn((e: DebuggerEvent) => {
events.push(e)
Expand Down Expand Up @@ -382,7 +382,7 @@ describe('api: lifecycle hooks', () => {
])
})

test('onRenderTrigger', async () => {
it('onRenderTrigger', async () => {
const events: DebuggerEvent[] = []
const onTrigger = vi.fn((e: DebuggerEvent) => {
events.push(e)
Expand Down Expand Up @@ -462,7 +462,7 @@ describe('api: lifecycle hooks', () => {
})

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

Expand Down Expand Up @@ -507,7 +507,7 @@ describe('api: lifecycle hooks', () => {
})

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

Expand Down

0 comments on commit a265416

Please sign in to comment.