test(install): cover http imports and X-TypeScript-Types path
Add two spec test cases under tests/specs/install/npm_compat_tsconfig:
- http_x_typescript_types: import a URL whose response carries an
X-TypeScript-Types header. Verifies the .d.ts is mirrored, the JS
source is NOT mirrored, and the tsconfig paths entry points at the
.d.ts.
- http_raw_ts: import a plain .ts URL with no types header. Verifies
the .ts source is mirrored and the paths entry points at it.
Both rely on the existing local test server's xTypeScriptTypes routes
and /subdir/comment.ts fixture; --allow-import is needed for the
install step to fetch from localhost.