Skip to content

Commit c3e2673

Browse files
authored
Merge pull request #161 from weihaiyu/myb
test:lifecycle shuld be expect 'onMountFn'
2 parents 4cecc64 + 06e049b commit c3e2673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lifecycle.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('lifecycles', () => {
3030
mount(Component)
3131
await nextTick()
3232
expect(beforeMountFn).toHaveBeenCalled()
33-
expect(onBeforeMountFn).toHaveBeenCalled()
33+
expect(onMountFn).toHaveBeenCalled()
3434
expect(onBeforeMountFn).toHaveBeenCalled()
3535
})
3636

0 commit comments

Comments
 (0)