//! Port of `packages/include/tests/path.spec.ts`.
use ;
use json;
// `path` can be an absolute filesystem path (from a command line or from
// another plugin). The TS spec runs only on Windows, where a drive letter
// once read as a URL scheme; an absolute path is checked everywhere here.
async