tcmts.cli.test.e2e.files

testCodeFilesSavedAsWritten () => void
Code kept as written (an example's `ui.tsx`, a file in a marked directory) is edited like any file: `tcm edit` writes it out, and `tcm update <file> --into <namespace>` saves it back as written, not as definitions.
testEditDoesNotOverwriteTheCodebasesConfig () => void
`tcm edit` of a `package.json` or `tsconfig.json` doesn't write over the codebase's own, even with `--force`.
testFileNamedWithADashIsImported () => void
A file whose name isn't an identifier (`getting-started`) is imported by its name in quotes, and edited back so.
testFilesInAMirror () => void
A mirror keeps its Markdown and images as files of the codebase, written back as they change.
testFilesWithoutAnExtension () => void
A file without an extension (`Dockerfile`, `Makefile`) or a hidden one (`.gitignore`) is kept as written, not read as code: added into a namespace, written out by `tcm edit` under its own name (a hidden one's dot and all), checked and saved back with `--into`, patched, and exported as it's named.
testMirroredCodeImportsAPage () => void
Code importing a page is mirrored with the import tcm writes (`#codebase/…`), and the files still hash to it.
testPagesAreDefinitions () => void
Pages are definitions: links to code follow renames, links to pages follow moves, and they're edited as files.
testPatchAFile () => void
`tcm patch` changes a file kept as written (a page, a stylesheet) as its text, and saves it back as the file it is: not read as code.