MCPcopy
hub / github.com/blitz-js/blitz / getData

Function getData

integration-tests/react-query-utils/test/index.test.ts:76–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 async () => {
75 const browser = await webdriver(appPort, "/page-with-invalidate")
76 const getData = async () => {
77 const q1 = await browser.elementByCss("#data-first").text()
78 const q2 = await browser.elementByCss("#data-second").text()
79
80 return {q1: parseInt(q1), q2: parseInt(q2)}
81 }
82
83 browser.waitForElementByCss("#data", 0)
84

Callers 1

runTestsFunction · 0.85

Calls 2

textMethod · 0.45
elementByCssMethod · 0.45

Tested by

no test coverage detected