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

Commit

Permalink
Update imports of unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschakki committed Dec 5, 2023
1 parent 4061b9d commit 34041f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions framework/test/unit/modules/random/endpoint.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import * as cryptography from '@liskhq/lisk-cryptography';
import { ModuleEndpointContext, RandomModule } from '../../../../src';
import { ModuleEndpointContext, Modules } from '../../../../src';
import { RandomEndpoint } from '../../../../src/modules/random/endpoint';
import { HashOnionStore } from '../../../../src/modules/random/stores/hash_onion';
import {
Expand Down Expand Up @@ -77,7 +77,7 @@ describe('RandomModuleEndpoint', () => {
};

beforeEach(async () => {
const randomModule = new RandomModule();
const randomModule = new Modules.Random.RandomModule();
randomEndpoint = new RandomEndpoint(randomModule.stores, randomModule.offchainStores);
const stateStore = new PrefixedStateReadWriter(new InMemoryPrefixedStateDB());
context = createTransientModuleEndpointContext({
Expand Down
2 changes: 1 addition & 1 deletion framework/test/unit/modules/token/endpoint.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { ModuleConfig } from '../../../../src/modules/token/types';
import { InternalMethod } from '../../../../src/modules/token/internal_method';

describe('token endpoint', () => {
const tokenModule = new TokenModule();
const tokenModule = new Modules.Token.TokenModule();
const addr = utils.getRandomBytes(20);
const mainChainID = Buffer.from([1, 0, 0, 0]);
const mainChainTokenID = Buffer.concat([mainChainID, Buffer.from([0, 0, 0, 0])]);
Expand Down

0 comments on commit 34041f4

Please sign in to comment.