@@ -5,7 +5,7 @@ import { Injector } from '../../injector/injector';
55import { Component } from '../../../common/utils/decorators/component.decorator' ;
66import { RuntimeException } from '../../../errors/exceptions/runtime.exception' ;
77import { Module } from '../../injector/module' ;
8- import { UnkownDependenciesException } from '../../../errors/exceptions/unkown -dependencies.exception' ;
8+ import { UnknownDependenciesException } from '../../../errors/exceptions/unknown -dependencies.exception' ;
99
1010describe ( 'Injector' , ( ) => {
1111 let injector : Injector ;
@@ -178,25 +178,25 @@ describe('Injector', () => {
178178 expect ( scanForComponentInRelatedModules . called ) . to . be . true ;
179179 } ) ;
180180
181- it ( 'should throw "UnkownDependenciesException " instanceWrapper is null' , ( ) => {
181+ it ( 'should throw "UnknownDependenciesException " instanceWrapper is null' , ( ) => {
182182 scanForComponentInRelatedModules . returns ( null ) ;
183183 const collection = {
184184 has : ( ) => false ,
185185 } ;
186186
187187 expect (
188188 ( ) => injector . scanForComponent ( collection as any , metatype . name , null , metatype )
189- ) . throws ( UnkownDependenciesException ) ;
189+ ) . throws ( UnknownDependenciesException ) ;
190190 } ) ;
191191
192- it ( 'should not throw "UnkownDependenciesException " instanceWrapper is not null' , ( ) => {
192+ it ( 'should not throw "UnknownDependenciesException " instanceWrapper is not null' , ( ) => {
193193 scanForComponentInRelatedModules . returns ( { } ) ;
194194 const collection = {
195195 has : ( ) => false ,
196196 } ;
197197 expect (
198198 ( ) => injector . scanForComponent ( collection as any , metatype . name , null , metatype )
199- ) . not . throws ( UnkownDependenciesException ) ;
199+ ) . not . throws ( UnknownDependenciesException ) ;
200200 } ) ;
201201
202202 } ) ;
0 commit comments