MCPcopy Create free account
hub / github.com/TanStack/cli / onConsole

Function onConsole

packages/cli/tests-e2e/helpers.ts:512–520  ·  view source on GitHub ↗
(message: { type: () => string; text: () => string })

Source from the content-addressed store, hash-verified

510 }
511
512 const onConsole = (message: { type: () => string; text: () => string }) => {
513 if (message.type() === 'error') {
514 const text = message.text()
515 if (isBlockedByClientError(text)) {
516 return
517 }
518 consoleErrors.push(text)
519 }
520 }
521
522 const onRequestFailed = (request: {
523 method: () => string

Callers

nothing calls this directly

Calls 2

isBlockedByClientErrorFunction · 0.85
textMethod · 0.65

Tested by

no test coverage detected