Code Review
/
ccsdk
/
distribution.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
756dc1398898c61591112ba3ff84117734dad96d
[ccsdk/distribution.git]
/
dgbuilder
/
test
/
red
/
nodes
/
resources
/
TestNode3
/
TestNode3.js
1
// A test node that exports a function which returns a rejecting promise
2
3
var when = require("when");
4
module.exports = function(RED) {
5
return when.promise(function(resolve,reject) {
6
reject("fail");
7
});
8
}