Skip to content

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

TypeScript
479 B
Raw Blame
import type { On } from 'claude-code'

import { startedOf } from './started-of.js'
import type { Started } from './types'

/**
 * A project whose walk fails, its session starting untouched (startedOf).
 *
 * @param on the test's `on`
 * @returns the toasts and lines the plugins raised, in order
 */
export function unreadableProjectOf(on: On): Started {
  const started = startedOf(on)

  on('fs.ancestors', () => {
    throw new Error('no walk today')
  })

  return started
}