We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b036287 commit c9e853dCopy full SHA for c9e853d
test/index.js
@@ -23,6 +23,13 @@ describe("Promisify", function() {
23
var fs = promisify("fs");
24
return fs.readFile(__dirname + "/../LICENSE");
25
});
26
+
27
+ it("can promisify the same object twice without breaking", function() {
28
+ var fs = promisify("fs");
29
+ fs = promisify("fs");
30
31
+ return fs.readFile(__dirname + "/../LICENSE");
32
+ });
33
34
35
describe("asynchronous method inference", function() {
0 commit comments