tcmts.cli.sync.test
- testFetchesAreCappedAndOnlyWhatsAsked () => Promise<void>
- A fetch capped by what its namespaces name stops before fetching any code, and a server sending namespaces it wasn't asked for is refused.
- testForwardDoesntWaitOnAnAppThatDoesntAnswer () => Promise<void>
- A proxied app that doesn't begin to answer a page in `patience` doesn't hold its caller: a GET gets a 503 saying it's busy, at once, and `slow` is told (the web UI stops one stuck so); an action (a POST) waits for its answer.
- testPublicRemotesAreOnlyPublicAddresses () => Promise<void>
- What a registry opens on someone else's say-so is an http(s) address at a public server, alone: never a directory, a remote's name (with its token), an internal address, or one with credentials in it.
- testUnconfiguredUrlsGetNoToken () => Promise<void>
- A URL that isn't a configured remote is asked with no token, whatever `$TCM_TOKEN` holds (a server's own token went to any library source, an announcement's included); a configured remote is asked with the token it was added with.