Skip to content

Commit

Permalink
test: update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
edison1105 committed Jan 10, 2025
1 parent 679cbdf commit 0a1db28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/runtime-vapor/__tests__/dom/templateRef.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe('api: template ref', () => {
expect(fooEl.value).toBe(null)
})

it.todo('string ref unmount', async () => {
it('string ref unmount', async () => {
const t0 = template('<div></div>')
const el = ref(null)
const toggle = ref(true)
Expand Down Expand Up @@ -153,7 +153,7 @@ describe('api: template ref', () => {
expect(fn2.mock.calls[0][0]).toBe(host.children[0])
})

it.todo('function ref unmount', async () => {
it('function ref unmount', async () => {
const fn = vi.fn()
const toggle = ref(true)

Expand Down Expand Up @@ -361,7 +361,7 @@ describe('api: template ref', () => {
})

// #1789
test.todo('toggle the same ref to different elements', async () => {
test('toggle the same ref to different elements', async () => {
const refToggle = ref(false)
const spy = vi.fn()

Expand Down

0 comments on commit 0a1db28

Please sign in to comment.