MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / assertIncludes

Function assertIncludes

apps/kimi-code/scripts/native/smoke.mjs:59–63  ·  view source on GitHub ↗
(output, expected, command)

Source from the content-addressed store, hash-verified

57}
58
59function assertIncludes(output, expected, command) {
60 if (!output.includes(expected)) {
61 fail(`Native smoke output for "${command}" did not include "${expected}".\n${output}`);
62 }
63}
64
65await ensureExecutableExists();
66

Callers 1

smoke.mjsFile · 0.70

Calls 1

failFunction · 0.70

Tested by

no test coverage detected