diff --git a/q/Q-tests.ts b/q/Q-tests.ts index 22f33506e..6b69fb228 100644 --- a/q/Q-tests.ts +++ b/q/Q-tests.ts @@ -109,3 +109,9 @@ Q.allSettled([saveToDisk(), saveToCloud()]).spread(function (disk, cloud) { } }).done(); +var nodeStyle = (input: string, cb: Function) => { + cb(null, input); +}; + +Q.nfapply(nodeStyle, ["foo"]).done((result: string) => {}); +Q.nfcall(nodeStyle, "foo").done((result: string) => {});