cleaning around tests

This commit is contained in:
tiagosiebler
2022-09-15 19:06:35 +01:00
parent 27bd81593c
commit f61e79934d
10 changed files with 323 additions and 76 deletions

View File

@@ -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;

View File

@@ -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({