From a64f1b266e5ac494c08366250949e0462693a2f6 Mon Sep 17 00:00:00 2001 From: Naily Date: Fri, 1 Nov 2024 17:59:29 +0800 Subject: [PATCH] ci: test --- packages/ioc/test/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ioc/test/index.test.ts b/packages/ioc/test/index.test.ts index 2672caf..289a74b 100644 --- a/packages/ioc/test/index.test.ts +++ b/packages/ioc/test/index.test.ts @@ -60,7 +60,7 @@ it('should automatic analyze deps', () => { expect(constructorDeps[0]).toBeInstanceOf(ClassWrapper) expect(constructorDeps[1]).toBeInstanceOf(ClassWrapper) expect(constructorDeps[2]).toBeUndefined() - expect(constructorDeps[3]).toBeInstanceOf(Container) + expect(constructorDeps[3]).toBeInstanceOf(ClassWrapper) const instance: FooService = classFactory.getOrCreateInstance() expect(instance).toBeInstanceOf(FooService)