Skip to content

Commit 3ab1da8

Browse files
committed
[Tests] fix tests on node v12.0-12.2
1 parent e9e764c commit 3ab1da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/resolver_sync.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var resolve = require('../');
66
var sync = require('../sync');
77

88
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
9+
&& !(/^v12\.[012]\./).test(process.version); // broken in v12.0-12.2, see https://github.com/nodejs/node/issues/27794
1010

1111
test('`./sync` entry point', function (t) {
1212
t.equal(resolve.sync, sync, '`./sync` entry point is the same as `.sync` on `main`');

0 commit comments

Comments
 (0)