Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 33cd613

Browse files
authored
chore(runtime-test): remove useless test code (#11483)
1 parent 2a29a71 commit 33cd613

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

packages/runtime-test/__tests__/testRuntime.spec.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -200,17 +200,4 @@ describe('test renderer', () => {
200200
await nextTick()
201201
expect(serialize(root)).toBe(`<div><span>1, 2</span></div>`)
202202
})
203-
204-
it('should mock warn', () => {
205-
console.warn('warn!!!')
206-
expect('warn!!!').toHaveBeenWarned()
207-
expect('warn!!!').toHaveBeenWarnedTimes(1)
208-
209-
console.warn('warn!!!')
210-
expect('warn!!!').toHaveBeenWarnedTimes(2)
211-
212-
console.warn('warning')
213-
expect('warn!!!').toHaveBeenWarnedTimes(2)
214-
expect('warning').toHaveBeenWarnedLast()
215-
})
216203
})

0 commit comments

Comments
 (0)