Semantics improvements

This commit is contained in:
Aleksandr Kraiz
2023-05-18 22:33:20 +04:00
parent dba7169828
commit ab36c0b26b
21 changed files with 71 additions and 55 deletions

View File

@@ -10,6 +10,7 @@ import {
} from 'http-terminator';
import { ethers } from 'ethers';
import { simpleFetch } from 'simple-typed-fetch';
import { SERVICE_TOKEN } from '../index.js';
jest.setTimeout(10000);
const createServer = (externalHost: string) => {
@@ -271,7 +272,7 @@ describe('Orion', () => {
}, 10000);
unitBSC.aggregator.ws.subscribe('aobus', {
payload: 'ORN-USDT',
payload: `${SERVICE_TOKEN}-USDT`,
callback: () => {
resolve(true);
unitBSC.aggregator.ws.destroy();