Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Merge branch '9154-nft-module-typedocs' of github.com:LiskHQ/lisk-sdk…
Browse files Browse the repository at this point in the history
… into 9154-nft-module-typedocs
  • Loading branch information
Tschakki committed Dec 21, 2023
2 parents c45cf2f + 2205d42 commit 300473f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
6 changes: 5 additions & 1 deletion framework/test/unit/controller/http/http_server.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ describe('HTTPServer', () => {

it('should setup event handlers', () => {
// Assert
expect(httpServerInstance.server.eventNames()).toEqual(['request', 'connection', 'error']);
expect(httpServerInstance.server.eventNames()).toIncludeAllPartialMembers([
'request',
'connection',
'error',
]);
});
});

Expand Down
11 changes: 4 additions & 7 deletions framework/test/unit/engine/engine.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@
*/
import { Block, BlockAssets, Chain } from '@liskhq/lisk-chain';
import { jobHandlers } from '@liskhq/lisk-utils';
import { Engine } from '../../../src/engine/engine';
import {
Consensus,
CONSENSUS_EVENT_BLOCK_DELETE,
CONSENSUS_EVENT_BLOCK_NEW,
CONSENSUS_EVENT_FORK_DETECTED,
} from '../../../src/engine/consensus';
import { Engine, Consensus } from '../../../src/engine';
import { ABI } from '../../../src/abi';
import * as logger from '../../../src/logger';
import { fakeLogger } from '../../utils/mocks';
Expand All @@ -29,8 +23,11 @@ import { Network } from '../../../src/engine/network';
import { Generator } from '../../../src/engine/generator';
import { RPCServer } from '../../../src/engine/rpc/rpc_server';
import {
CONSENSUS_EVENT_BLOCK_DELETE,
CONSENSUS_EVENT_BLOCK_NEW,
CONSENSUS_EVENT_NETWORK_BLOCK_NEW,
CONSENSUS_EVENT_VALIDATORS_CHANGED,
CONSENSUS_EVENT_FORK_DETECTED,
} from '../../../src/engine/consensus/constants';
import { defaultConfig } from '../../../src/testing/fixtures';
import { createFakeBlockHeader } from '../../fixtures';
Expand Down

0 comments on commit 300473f

Please sign in to comment.