Skip to content

Commit 7e4edaf

Browse files
committed
Merge tags v1.12.3, v1.13.1
3 parents 8ce2f40 + 7967adc + 9591fb7 commit 7e4edaf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/symlinks.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ test('packageFilter', function (t) {
119119
var actualPath = resolve.sync('mod-a', {
120120
basedir: destDir,
121121
preserveSymlinks: preserveSymlinks,
122-
packageFilter: function (pkg, pkgfile) {
122+
packageFilter: function (pkg, pkgfile, dir) {
123123
packageFilterPath.push(pkgfile);
124124
}
125125
});
@@ -152,8 +152,11 @@ test('packageFilter', function (t) {
152152
'async: actual path is correct'
153153
);
154154
st.deepEqual(
155-
map(packageFilterPath, relative),
156-
map(preserveSymlinks ? [destPkg, destPkg] : [sourcePkg, sourcePkg], path.normalize),
155+
map(asyncPackageFilterPath, relative),
156+
map(
157+
preserveSymlinks ? [destPkg, destPkg, destPkg] : [sourcePkg, sourcePkg, sourcePkg],
158+
path.normalize
159+
),
157160
'async: packageFilter pkgfile arg is correct'
158161
);
159162
}

0 commit comments

Comments
 (0)