MCPcopy Create free account
hub / github.com/Noumena-Network/code / rowsContainSubstring

Function rowsContainSubstring

src/testing/replScreenContractHarness.ts:88–93  ·  view source on GitHub ↗
(
  rows: readonly string[],
  expectedSubstring: string,
)

Source from the content-addressed store, hash-verified

86}
87
88export function rowsContainSubstring(
89 rows: readonly string[],
90 expectedSubstring: string,
91): boolean {
92 return rows.some(row => row.includes(expectedSubstring))
93}
94
95export function expectRowsNotToContainSubstring(
96 rows: readonly string[],

Callers 3

enterTranscriptModeFunction · 0.85
waitForReplPtyPromptFunction · 0.85
waitForReplTmuxPromptFunction · 0.85

Calls

no outgoing calls

Tested by 1

enterTranscriptModeFunction · 0.68