Skip to content

Commit

Permalink
chore: nit
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Jan 2, 2023
1 parent d151b0a commit 8ffbe09
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/manual/websocket/main/test/e2e/ws.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,17 @@ const chai = require('chai')
const chaiHttp = require('chai-http')
const moment = require('moment')

const endpoint = env.npm_config_endpoint || 'ws://localhost:3001'
const timeout = env.npm_config_timeout
? parseInt(env.npm_config_timeout, 10)
: 1000
const WebSocketTester = require('../support/WebSocketTester.js')

const { expect } = chai
const { now } = Date
const { parse, stringify } = JSON
const { keys } = Object

chai.use(chaiHttp)

const endpoint = env.npm_config_endpoint ?? 'ws://localhost:3001'
const timeout = env.npm_config_timeout ? +env.npm_config_timeout : 1000
const WebSocketTester = require('../support/WebSocketTester.js')

describe('serverless', () => {
describe('with WebSocket support', () => {
let clients = []
Expand Down

0 comments on commit 8ffbe09

Please sign in to comment.