mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-19 08:51:24 +00:00
Test Output Cleanup
This commit is contained in:
@@ -32,13 +32,11 @@ export class ArraysByKeyCache<T> {
|
||||
this.cache[key] = elements;
|
||||
|
||||
if (index < 0) {
|
||||
console.error("Inserting with negative index is not allowed by ArraysByCache");
|
||||
return;
|
||||
}
|
||||
|
||||
// Check that previous index is populated, if not, ignore
|
||||
if (index > elements.length) {
|
||||
console.error("Inserting non-contiguous element is not allowed by ArraysByCache");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -192,7 +192,6 @@ export class GremlinClient {
|
||||
}
|
||||
|
||||
private static reportError(msg: string): void {
|
||||
console.error(msg);
|
||||
NotificationConsoleUtils.logConsoleMessage(ConsoleDataType.Error, msg);
|
||||
Logger.logError(msg, GremlinClient.LOG_AREA);
|
||||
}
|
||||
|
||||
@@ -136,7 +136,6 @@ export class GremlinSimpleClient {
|
||||
const data = typeof msg.data === "string" ? msg.data : new TextDecoder("utf-8").decode(msg.data);
|
||||
return JSON.parse(data);
|
||||
} catch (e) {
|
||||
console.error(e, msg);
|
||||
if (this.params.failureCallback) {
|
||||
this.params.failureCallback(
|
||||
null,
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
/* eslint-disable */
|
||||
export class GremlinClient {
|
||||
constructor() {}
|
||||
initialize() {}
|
||||
execute() {}
|
||||
}
|
||||
Reference in New Issue
Block a user