From c3a9691f7e057eb1dd461b8da0513fc650694e56 Mon Sep 17 00:00:00 2001 From: Jeromy Cannon Date: Mon, 23 Dec 2024 20:35:20 +0000 Subject: [PATCH] add reflect metadata back Signed-off-by: Jeromy Cannon --- src/index.ts | 2 ++ test/setup.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/index.ts b/src/index.ts index 68d2130ac..71a5f631b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -19,6 +19,8 @@ import yargs from 'yargs'; import {hideBin} from 'yargs/helpers'; import 'dotenv/config'; import path from 'path'; +// eslint-disable-next-line n/no-extraneous-import +import 'reflect-metadata'; import './core/container_init.js'; import {ListrLogger} from 'listr2'; diff --git a/test/setup.ts b/test/setup.ts index 582008a26..bfb8ea8fe 100644 --- a/test/setup.ts +++ b/test/setup.ts @@ -17,6 +17,8 @@ import * as chai from 'chai'; import chaiAsPromised from 'chai-as-promised'; import sinonChai from 'sinon-chai'; +// eslint-disable-next-line n/no-extraneous-import +import 'reflect-metadata'; import {resetTestContainer} from './test_container.js'; resetTestContainer();