[THRIFT-4771] add nodejs THeaderProtocol support (#1743)
Client: nodejs
diff --git a/lib/nodejs/test/helpers.js b/lib/nodejs/test/helpers.js
index 72d128d..f3c27b3 100644
--- a/lib/nodejs/test/helpers.js
+++ b/lib/nodejs/test/helpers.js
@@ -28,7 +28,8 @@
module.exports.protocols = {
json: thrift.TJSONProtocol,
binary: thrift.TBinaryProtocol,
- compact: thrift.TCompactProtocol
+ compact: thrift.TCompactProtocol,
+ header: thrift.THeaderProtocol
};
module.exports.ecmaMode = process.argv.includes("--es6") ? "es6" : "es5";