fiftyone.pipeline.cloudrequestengine 4.5.27 → 4.5.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -66,7 +66,7 @@ test('missing property service - invalid resource key', done => {
|
|
|
66
66
|
let errorFound = false;
|
|
67
67
|
const error = flowData.errors.CloudEngineBase[0];
|
|
68
68
|
errorFound = error.message.includes(testResourceKey) &&
|
|
69
|
-
error.message.includes('
|
|
69
|
+
error.message.includes('could not be read as a valid resource key');
|
|
70
70
|
expect(errorFound).toBe(true);
|
|
71
71
|
|
|
72
72
|
done();
|
|
@@ -87,7 +87,7 @@ test('HTTP data set in error', done => {
|
|
|
87
87
|
const builder = new PipelineBuilder();
|
|
88
88
|
const pipeline = builder.add(engine).build();
|
|
89
89
|
const flowData = pipeline.createFlowData();
|
|
90
|
-
const expectedError = '\'' + testResourceKey + '\'
|
|
90
|
+
const expectedError = '\'' + testResourceKey + '\' could not be read as a valid resource key.';
|
|
91
91
|
|
|
92
92
|
// When an error occurs, check that the message is logged.
|
|
93
93
|
pipeline.on('error', (e) => {
|