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)