diff --git a/packages/config-service/tests/src/services/loggerService.spec.ts b/packages/config-service/tests/src/services/loggerService.spec.ts index 428e75979..dc311f687 100644 --- a/packages/config-service/tests/src/services/loggerService.spec.ts +++ b/packages/config-service/tests/src/services/loggerService.spec.ts @@ -48,7 +48,7 @@ describe('LoggerService tests', async function () { it('should be able to return plain information', async () => { const envName = 'CHAIN_ID'; - const res = ConfigService.get(envName) as string | undefined; + const res = ConfigService.get(envName); expect(LoggerService.maskUpEnv(envName, res)).to.equal(`${envName} = ${res}`); });