MCPcopy
hub / github.com/vuejs/vuex / count

Function count

test/helpers.js:65–67  ·  view source on GitHub ↗
(selector)

Source from the content-addressed store, hash-verified

63 }
64
65 async function count (selector) {
66 return (await page.$$(selector)).length
67 }
68
69 async function text (selector) {
70 return await page.$eval(selector, (node) => node.textContent)

Callers 3

testTodoMVCFunction · 0.50
testCartFunction · 0.50
testChatFunction · 0.50

Calls

no outgoing calls

Tested by 3

testTodoMVCFunction · 0.40
testCartFunction · 0.40
testChatFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…