From 1ee2088343f0db99f86208dc5988c0829ca1103b Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Fri, 3 Apr 2020 03:46:39 -0700 Subject: [PATCH] Fix integration tests slipping into release Per Mikunj --- js/modules/loki_file_server_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/modules/loki_file_server_api.js b/js/modules/loki_file_server_api.js index 47adf81eb..b522444bb 100644 --- a/js/modules/loki_file_server_api.js +++ b/js/modules/loki_file_server_api.js @@ -4,7 +4,6 @@ /* global log: false */ const LokiAppDotNetAPI = require('./loki_app_dot_net_api'); -const StubAppDotNetAPI = require('../../integration_test/stubs/stub_app_dot_net_api.js'); const DEVICE_MAPPING_USER_ANNOTATION_TYPE = 'network.loki.messenger.devicemapping'; @@ -60,6 +59,7 @@ class LokiFileServerInstance { async establishConnection(serverUrl, options) { // why don't we extend this? if (process.env.USE_STUBBED_NETWORK) { + const StubAppDotNetAPI = require('../../integration_test/stubs/stub_app_dot_net_api.js'); this._server = new StubAppDotNetAPI(this.ourKey, serverUrl); } else { this._server = new LokiAppDotNetAPI(this.ourKey, serverUrl);