fix tests
This commit is contained in:
@@ -31,7 +31,6 @@ describe('Private Linear Perps Websocket Client', () => {
|
||||
);
|
||||
|
||||
const wsOpenPromise = waitForSocketEvent(badClient, 'open', 2500);
|
||||
|
||||
badClient.connectPrivate();
|
||||
|
||||
try {
|
||||
|
||||
@@ -94,6 +94,10 @@ describe('Public Linear Perps Websocket Client', () => {
|
||||
|
||||
wsClient.subscribe(wsTopic);
|
||||
|
||||
await Promise.all([wsResponsePromise]);
|
||||
try {
|
||||
await Promise.all([wsResponsePromise]);
|
||||
} catch (e) {
|
||||
//
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user