Add test for ES6 generated exception constructor
Client: js

Add unit tests verifying that ES6-generated exception classes pass the
exception name string to super() instead of the args object. This is a
regression test for the bug fixed in PR #3372, where super(args) caused
TBinaryProtocol.writeStringOrBinary to throw.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
diff --git a/lib/nodejs/test/testAll.sh b/lib/nodejs/test/testAll.sh
index d37f9a3..182e260 100755
--- a/lib/nodejs/test/testAll.sh
+++ b/lib/nodejs/test/testAll.sh
@@ -133,6 +133,7 @@
 node ${DIR}/header.test.js || TESTOK=1
 node ${DIR}/int64.test.js || TESTOK=1
 node ${DIR}/deep-constructor.test.js || TESTOK=1
+node ${DIR}/generated-exceptions.test.js || TESTOK=1
 node ${DIR}/include.test.mjs || TESTOK=1
 node ${DIR}/thrift_4987_xhr_protocol.test.mjs || TESTOK=1