mirror of
https://github.com/hanzoai/ts-node.git
synced 2026-10-30 19:36:25 +00:00
* increase formatting print-width to 120; 80 hurts legibility of TS too much * apply formatting * fix
9 lines
304 B
TypeScript
9 lines
304 B
TypeScript
import { strictEqual } from 'assert';
|
|
import { normalize, dirname } from 'path';
|
|
import { fileURLToPath } from 'url';
|
|
|
|
// Expect the working directory to be the parent directory.
|
|
strictEqual(normalize(process.cwd()), normalize(dirname(dirname(fileURLToPath(import.meta.url)))));
|
|
|
|
console.log('Passing');
|