20690: Remove workbench1 and testing/packaging references.
[arvados.git] / apps / workbench / test / support / fake_websocket.js
diff --git a/apps/workbench/test/support/fake_websocket.js b/apps/workbench/test/support/fake_websocket.js
deleted file mode 100644 (file)
index 7f04a40..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (C) The Arvados Authors. All rights reserved.
-//
-// SPDX-License-Identifier: AGPL-3.0
-
-sockets = [];
-window.WebSocket = function(url) {
-    sockets.push(this);
-    window.setTimeout(function() {
-        sockets.map(function(s) {
-            s.onopen();
-        });
-        sockets.splice(0);
-    }, 1);
-}
-
-window.WebSocket.prototype.send = function(msg) {
-    // Uncomment for debugging:
-    // console.log("fake WebSocket: send: "+msg);
-}