CommonJS tests are now passing.
diff --git a/js/binary/proto_test.js b/js/binary/proto_test.js index 1cb7ff0..106ee24 100644 --- a/js/binary/proto_test.js +++ b/js/binary/proto_test.js
@@ -31,6 +31,8 @@ // Test suite is written using Jasmine -- see http://jasmine.github.io/ goog.require('goog.testing.asserts'); + +// CommonJS-LoadFromFile: testbinary_pb goog.require('proto.jspb.test.ExtendsWithMessage'); goog.require('proto.jspb.test.ForeignEnum'); goog.require('proto.jspb.test.ForeignMessage');
diff --git a/js/binary/reader_test.js b/js/binary/reader_test.js index a648261..c0f1270 100644 --- a/js/binary/reader_test.js +++ b/js/binary/reader_test.js
@@ -42,6 +42,8 @@ */ goog.require('goog.testing.asserts'); + +// CommonJS-LoadFromFile: google_protobuf goog.require('jspb.BinaryConstants'); goog.require('jspb.BinaryDecoder'); goog.require('jspb.BinaryReader');
diff --git a/js/binary/utils_test.js b/js/binary/utils_test.js index 5c33079..37bab08 100644 --- a/js/binary/utils_test.js +++ b/js/binary/utils_test.js
@@ -38,6 +38,8 @@ goog.require('goog.crypt.base64'); goog.require('goog.testing.asserts'); + +// CommonJS-LoadFromFile: google_protobuf goog.require('jspb.BinaryConstants'); goog.require('jspb.BinaryWriter'); goog.require('jspb.utils');