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

Function svgTransitionStart

packages/vue/__tests__/e2e/Transition.spec.ts:1042–1051  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1040 )
1041
1042 const svgTransitionStart = () =>
1043 page().evaluate(() => {
1044 document.querySelector('button')!.click()
1045 return Promise.resolve().then(() => {
1046 return document
1047 .querySelector('.test')!
1048 .getAttribute('class')!
1049 .split(/\s+/g)
1050 })
1051 })
1052
1053 // leave
1054 expect(await svgTransitionStart()).toStrictEqual([

Callers 1

Transition.spec.tsFile · 0.85

Calls 4

querySelectorMethod · 0.80
evaluateMethod · 0.65
clickMethod · 0.65
resolveMethod · 0.65

Tested by

no test coverage detected