We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e73a2f commit 5e998f9Copy full SHA for 5e998f9
packages/ws-server/tests/unit/index.spec.ts
@@ -6,6 +6,10 @@ import { ConfigService } from '../../../config-service/dist/services';
6
import * as webSocketServer from '../../dist/webSocketServer';
7
8
describe('main', () => {
9
+ afterEach(() => {
10
+ sinon.restore();
11
+ });
12
+
13
it('should start server if ensureOperatorHasBalance succeeds', async () => {
14
const appListenStub = sinon.stub(webSocketServer.app, 'listen');
15
const configGetStub = sinon.stub(ConfigService, 'get').returns('127.0.0.1');
0 commit comments