Skip to content

Commit 3ed3458

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

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
@@ -14,7 +14,9 @@ const configure = requireInject('../lib/configure', {
1414
mkdir: function (dir, options, cb) { cb() },
1515
promises: {
1616
writeFile: function (file, data) { return Promise.resolve(null) }
17-
}
17+
},
18+
unlink: function (path, cb) { cb() },
19+
symlink: function (target, path, cb) { cb() }
1820
}
1921
})
2022

0 commit comments

Comments
 (0)