Skip to content

Commit 9c40508

Browse files
committed
test: update mocked graceful-fs for configure test
Add missing functions "unlink()" and "symlink()" to mocked module.
1 parent fb8f589 commit 9c40508

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test-configure-python.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ const configure = requireInject('../lib/configure', {
1111
closeSync: function () { },
1212
writeFile: function (file, data, cb) { cb() },
1313
stat: function (file, cb) { cb(null, {}) },
14-
mkdir: function (dir, options, cb) { cb() }
14+
mkdir: function (dir, options, cb) { cb() },
15+
unlink: function (path, cb) { cb() },
16+
symlink: function (target, path, cb) { cb() }
1517
}
1618
})
1719

0 commit comments

Comments
 (0)