diff options
author | Adam Cozzette <acozzette@google.com> | 2017-12-04 15:08:10 -0800 |
---|---|---|
committer | Adam Cozzette <acozzette@google.com> | 2017-12-05 10:41:31 -0800 |
commit | e372df5c975dc9720c9252e9b0b25c03e7c4b713 (patch) | |
tree | f1310305536257af74c2a830b34c4a8f020f48c2 /js/debug_test.js | |
parent | 7bb8584f9d4114fda7360f9f677bcc04e718be18 (diff) | |
download | protobuf-e372df5c975dc9720c9252e9b0b25c03e7c4b713.tar.gz protobuf-e372df5c975dc9720c9252e9b0b25c03e7c4b713.tar.bz2 protobuf-e372df5c975dc9720c9252e9b0b25c03e7c4b713.zip |
Fixed failing JS tests
Diffstat (limited to 'js/debug_test.js')
-rw-r--r-- | js/debug_test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/debug_test.js b/js/debug_test.js index 73810871..d0d646a5 100644 --- a/js/debug_test.js +++ b/js/debug_test.js @@ -77,7 +77,7 @@ describe('debugTest', function() { }); it('testBytes', function() { - if (COMPILED || !window['Uint8Array']) { + if (COMPILED || typeof Uint8Array == 'undefined') { return; } var message = new proto.jspb.test.TestAllTypes(); |