Skip to content

Commit 188ea9e

Browse files
committed
Fixed unit tests.
1 parent c599ace commit 188ea9e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/global.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ let getTestBlockCode = function(block) {
3535
};
3636

3737
let getTestBuffer = function(data) {
38-
return cwc.utils.ByteTools.getUint8Data(data).data[0];
38+
return cwc.utils.ByteTools.getUint8Data(data).data;
3939
};
4040

4141
let loadExampleFile = function(file, builder) {

test/unit_tests.conf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ module.exports = function(config) {
3636
{pattern: 'src/blocks/**/*.js'},
3737
{pattern: 'src/**/*.js', included: false},
3838

39-
//{pattern: 'test/unit_tests/**/*_test.js'},
40-
{pattern: 'test/unit_tests/**/byte_tools_test.js'},
39+
{pattern: 'test/unit_tests/**/*_test.js'},
4140
{pattern: 'test/genfiles/soy/**/*.js', included: false},
4241

4342
{pattern: closureTemplates + 'soyutils_usegoog.js', included: false},

0 commit comments

Comments
 (0)