We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9e764c commit 3ab1da8Copy full SHA for 3ab1da8
test/resolver_sync.js
@@ -6,7 +6,7 @@ var resolve = require('../');
6
var sync = require('../sync');
7
8
var requireResolveSupportsPaths = require.resolve.length > 1
9
- && !(/^12\.[012]\./).test(process.version); // broken in v12.0-12.2, see https://github.com/nodejs/node/issues/27794
+ && !(/^v12\.[012]\./).test(process.version); // broken in v12.0-12.2, see https://github.com/nodejs/node/issues/27794
10
11
test('`./sync` entry point', function (t) {
12
t.equal(resolve.sync, sync, '`./sync` entry point is the same as `.sync` on `main`');
0 commit comments