From 2cd9296efccd7109cd820157c76b3d4c1b947c22 Mon Sep 17 00:00:00 2001 From: Eddort Date: Fri, 22 Sep 2023 13:19:24 +0400 Subject: [PATCH] fix: add dotenv --- src/app/simple-dvt-deploy.e2e-chain.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/simple-dvt-deploy.e2e-chain.ts b/src/app/simple-dvt-deploy.e2e-chain.ts index 863e363b..24622d5c 100644 --- a/src/app/simple-dvt-deploy.e2e-chain.ts +++ b/src/app/simple-dvt-deploy.e2e-chain.ts @@ -3,6 +3,7 @@ import { MikroORM } from '@mikro-orm/core'; import { Test, TestingModule } from '@nestjs/testing'; import { createSDK, chronix } from 'chronix'; +import * as dotenv from 'dotenv'; import { RegistryKeyStorageService } from '../common/registry'; import { ElMetaStorageService } from '../storage/el-meta.storage'; @@ -14,6 +15,7 @@ import { PrometheusService } from '../common/prometheus'; import { StakingRouterService } from '../staking-router-modules/staking-router.service'; import { AppModule } from './app-testing.module'; +dotenv.config(); jest.setTimeout(100_000); describe('Simple DVT deploy', () => {