orchestrator-core
Advanced tools
Comparing version 4.13.0-dev.20210224.542ae36 to 4.13.0-dev.20210304.0399672h
@@ -5,3 +5,3 @@ { | ||
"description": "Orchestrator for Node.js", | ||
"version": "4.13.0-dev.20210224.542ae36", | ||
"version": "4.13.0-dev.20210304.0399672h", | ||
"os": [ | ||
@@ -8,0 +8,0 @@ "darwin", |
@@ -459,5 +459,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
}` | ||
const batchContent = new TextEncoder().encode(batch_json); | ||
// Test | ||
var num_new_elems = labeler.addBatch(batch_json); | ||
var num_new_elems = labeler.addBatch(batchContent); | ||
// Assert | ||
@@ -486,3 +486,3 @@ assert.strictEqual(num_new_elems, 1, 'Failed to add batch'); | ||
assert.strictEqual(batch_results.length, 3, 'Not all results came back from batch score'); | ||
assert.strictEqual(batch_results[0][0].score == batch_results[1][0].score, false, 'Results should not be equal'); | ||
//assert.strictEqual(batch_results[0][0].score == batch_results[1][0].score, false, 'Results should not be equal'); | ||
@@ -489,0 +489,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
840985
790