MCPcopy
hub / github.com/vuejs/core / assertHydrationSuccess

Function assertHydrationSuccess

packages/vue/__tests__/e2e/hydrationStrategies.spec.ts:21–24  ·  view source on GitHub ↗
(n = '1')

Source from the content-addressed store, hash-verified

19 }
20
21 async function assertHydrationSuccess(n = '1') {
22 await click('button')
23 expect(await text('button')).toBe(n)
24 }
25
26 test('idle', async () => {
27 const messages: string[] = []

Callers 1

Calls 2

clickFunction · 0.70
textFunction · 0.70

Tested by

no test coverage detected