@@ -2,7 +2,7 @@ import { expect } from 'chai';
22import * as sinon from 'sinon' ;
33import { NestContainer } from '../../injector/container' ;
44import { Module } from '../../../common/utils/decorators/module.decorator' ;
5- import { UnkownModuleException } from '../../../errors/exceptions/unkown -module.exception' ;
5+ import { UnknownModuleException } from '../../../errors/exceptions/unknown -module.exception' ;
66
77describe ( 'NestContainer' , ( ) => {
88 let container : NestContainer ;
@@ -25,16 +25,16 @@ describe('NestContainer', () => {
2525 expect ( setSpy . calledOnce ) . to . be . true ;
2626 } ) ;
2727
28- it ( 'should "addComponent" throw "UnkownModuleException " when module is not stored in collection' , ( ) => {
29- expect ( ( ) => container . addComponent ( null , TestModule ) ) . throw ( UnkownModuleException ) ;
28+ it ( 'should "addComponent" throw "UnknownModuleException " when module is not stored in collection' , ( ) => {
29+ expect ( ( ) => container . addComponent ( null , TestModule ) ) . throw ( UnknownModuleException ) ;
3030 } ) ;
3131
32- it ( 'should "addController" throw "UnkownModuleException " when module is not stored in collection' , ( ) => {
33- expect ( ( ) => container . addController ( null , TestModule ) ) . throw ( UnkownModuleException ) ;
32+ it ( 'should "addController" throw "UnknownModuleException " when module is not stored in collection' , ( ) => {
33+ expect ( ( ) => container . addController ( null , TestModule ) ) . throw ( UnknownModuleException ) ;
3434 } ) ;
3535
36- it ( 'should "addExportedComponent" throw "UnkownModuleException " when module is not stored in collection' , ( ) => {
37- expect ( ( ) => container . addExportedComponent ( null , TestModule ) ) . throw ( UnkownModuleException ) ;
36+ it ( 'should "addExportedComponent" throw "UnknownModuleException " when module is not stored in collection' , ( ) => {
37+ expect ( ( ) => container . addExportedComponent ( null , TestModule ) ) . throw ( UnknownModuleException ) ;
3838 } ) ;
3939
4040} ) ;
0 commit comments