tcmts.cli.test.e2e.migrate

testMigrateKeepsEverything () => void
A codebase in an older hash format (and table layout) isn't opened, and says to migrate; `tcm migrate` moves it, history and all: its names, both branches, its history entries, its release and its test results, the old database kept beside it.
testMigrateMovesAnOlderLayout () => void
A codebase in an older table layout (`tcmts.fixtures.codebase-layout-8f648138`: patches kept whole for each branch, made by that layout's tcm) isn't opened, and says to migrate; `tcm migrate` moves its tables, keeping it as it was beside it, and each branch reads the patches it had.
testMigrateRefusesANewerFormat () => void
A codebase in a newer format than this tcm's is refused, and left as it is.
testMigrationIsTheSameEverywhere () => void
Two copies of a codebase migrate to the same hashes, so copies that synced go on syncing.
v1Codebase (name: string) => string
A codebase made by the tcm of hash format 1 (`tcmts.fixtures.codebase-v1`), in a directory of its own.