tien commented on code in PR #2506:
URL: https://github.com/apache/tinkerpop/pull/2506#discussion_r1508384058


##########
gremlin-javascript/src/main/javascript/gremlin-javascript/test/integration/client-behavior-tests.js:
##########
@@ -21,58 +21,56 @@
 
 const assert = require('assert');
 const helper = require('../helper');
-const {getUserAgent} = require("../../lib/utils");
+const { getUserAgent } = require('../../lib/utils');
 
 let client;
 let settings;
 
 describe('Client', function () {
-    before(function () {
-        client = helper.getGremlinSocketServerClient('gmodern');
-        settings = helper.getGremlinSocketServerSettings();
-        return client.open();
-    });
-    after(function () {
-        return client.close();
-    });
-    describe('#submit()', function () {
-        it('should reconnect after server closes connection', async function 
() {
-            let connectionClosed = false;
-            await client.submit('1', null, {requestId: 
settings.CLOSE_CONNECTION_REQUEST_ID})
-                .catch(function(error){
-                    assert.equal(error.toString(), 'Error: Connection has been 
closed.');
-                    connectionClosed = true;
-                });
+  before(function () {

Review Comment:
   But in saying that, I've reverted all the style changes here for now.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to