cleaning around tests
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
WS_OPEN_EVENT_PARTIAL,
|
||||
} from '../ws.util';
|
||||
|
||||
describe('Private Linear Websocket Client', () => {
|
||||
describe('Private Linear Perps Websocket Client', () => {
|
||||
const API_KEY = process.env.API_KEY_COM;
|
||||
const API_SECRET = process.env.API_SECRET_COM;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import {
|
||||
LinearClient,
|
||||
WebsocketClient,
|
||||
WSClientConfigurableOptions,
|
||||
WS_KEY_MAP,
|
||||
@@ -10,7 +9,7 @@ import {
|
||||
WS_OPEN_EVENT_PARTIAL,
|
||||
} from '../ws.util';
|
||||
|
||||
describe('Public Linear Websocket Client', () => {
|
||||
describe('Public Linear Perps Websocket Client', () => {
|
||||
let wsClient: WebsocketClient;
|
||||
|
||||
const wsClientOptions: WSClientConfigurableOptions = {
|
||||
@@ -26,7 +25,7 @@ describe('Public Linear Websocket Client', () => {
|
||||
wsClient.closeAll();
|
||||
});
|
||||
|
||||
it('should open a private ws connection', async () => {
|
||||
it('should open a public ws connection', async () => {
|
||||
const wsOpenPromise = waitForSocketEvent(wsClient, 'open');
|
||||
|
||||
expect(wsOpenPromise).resolves.toMatchObject({
|
||||
Reference in New Issue
Block a user