@@ -17,9 +17,10 @@ describe('test/LoadUnit/LoadUnit.test.ts', () => {
1717 const appRepoProto = loadUnit . getEggPrototype ( 'appRepo' , [ { attribute : InitTypeQualifierAttribute , value : ObjectInitType . SINGLETON } ] ) ;
1818 const sprintRepoProto = loadUnit . getEggPrototype ( 'sprintRepo' , [ { attribute : InitTypeQualifierAttribute , value : ObjectInitType . SINGLETON } ] ) ;
1919 const userRepoProto = loadUnit . getEggPrototype ( 'userRepo' , [ { attribute : InitTypeQualifierAttribute , value : ObjectInitType . SINGLETON } ] ) ;
20- assert ( appRepoProto ) ;
21- assert ( sprintRepoProto ) ;
22- assert ( userRepoProto ) ;
20+ assert . strictEqual ( appRepoProto . length , 1 ) ;
21+ assert . strictEqual ( appRepoProto [ 0 ] . className , 'AppRepo' ) ;
22+ assert . strictEqual ( sprintRepoProto . length , 1 ) ;
23+ assert . strictEqual ( userRepoProto . length , 1 ) ;
2324 await LoadUnitFactory . destroyLoadUnit ( loadUnit ) ;
2425 } ) ;
2526
@@ -92,6 +93,7 @@ describe('test/LoadUnit/LoadUnit.test.ts', () => {
9293 const foo2Prototype = loadUnit . getEggPrototype ( 'foo' , [ { attribute : FOO_ATTRIBUTE , value : 'foo2' } ] ) ;
9394 assert ( foo1Prototype ) ;
9495 assert ( foo1Prototype . length === 1 ) ;
96+ assert . strictEqual ( foo1Prototype [ 0 ] . className , 'FooLogger' ) ;
9597 assert ( foo2Prototype ) ;
9698 assert ( foo2Prototype . length === 1 ) ;
9799 await LoadUnitFactory . destroyLoadUnit ( loadUnit ) ;
0 commit comments