Skip to content

Commit 7f0c44b

Browse files
committed
test: fix selector
1 parent f0bab01 commit 7f0c44b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/vue/__tests__/vue.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ describe('hmr', () => {
224224
test('should reload when script changes after a rerender', async () => {
225225
// rerender
226226
editFile('Hmr.vue', (code) => code.replace('bar-title', 'bar-title1'))
227-
await untilUpdated(() => page.textContent('h2.hmr'), 'bar-title1')
227+
await untilUpdated(() => page.textContent('.hmr-bar-text'), 'bar-title1')
228228

229229
// change 'bar' to 'updated', should reload
230230
editFile('Hmr.vue', (code) =>

0 commit comments

Comments
 (0)