node/test/es-module/test-esm-path-win32.mjs
ExE Boss 4f296d270a path: add path/posix and path/win32 alias modules
Refs: https://github.com/nodejs/node/pull/31553
Refs: https://github.com/nodejs/node/pull/32953
Refs: https://github.com/nodejs/node/pull/33950
Refs: https://github.com/nodejs/node/pull/34001
Refs: https://github.com/nodejs/node/pull/34002
Refs: https://github.com/nodejs/node/pull/34055

PR-URL: https://github.com/nodejs/node/pull/34962
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
2020-10-20 14:27:31 +00:00

7 lines
164 B
JavaScript

import '../common/index.mjs';
import assert from 'assert';
import { win32 } from 'path';
import pathWin32 from 'path/win32';
assert.strictEqual(pathWin32, win32);