@@ -127,8 +127,9 @@ export class SimpleAngularTestRunnerComponent
127127 url : '/assets/runner' ,
128128 } ,
129129 ( { evalJs } ) => {
130+ evalJs ( this . scriptLoaderService . getScript ( 'chai' ) ) ;
130131 // evalJs(this.scriptLoaderService.getScript('shim'));
131- // evalJs(this.scriptLoaderService.getScript('zone'));
132+ evalJs ( this . scriptLoaderService . getScript ( 'zone' ) ) ;
132133 }
133134 ) ;
134135
@@ -137,13 +138,8 @@ export class SimpleAngularTestRunnerComponent
137138 '<app-root></app-root><my-app></my-app><div class="error"></div>'
138139 ) ;
139140
140- sandbox . evalJs ( this . scriptLoaderService . getScript ( 'chai' ) ) ;
141141 sandbox . evalJs ( this . scriptLoaderService . getScript ( 'mocha' ) ) ;
142142 sandbox . evalJs ( this . scriptLoaderService . getScript ( 'test-bootstrap' ) ) ;
143- // sandbox.evalJs(this.scriptLoaderService.getScript('shim'));
144- // sandbox.evalJs(this.scriptLoaderService.getScript('zone'));
145- // sandbox.evalJs(this.scriptLoaderService.getScript('system-config'));
146- // sandbox.evalJs(this.scriptLoaderService.getScript('ng-bundle'));
147143
148144 this . subscription = this . changedFilesSubject . subscribe ( ( files ) => {
149145 addMetaInformation ( sandbox , this . code ) ;
@@ -153,7 +149,8 @@ export class SimpleAngularTestRunnerComponent
153149 . filter ( ( [ path ] ) => path . match ( / \. j s $ / ) && ! path . startsWith ( 'code' ) )
154150 . map ( ( [ path , code ] ) => {
155151 try {
156- sandbox . evalJs ( `console.log('I remove modul')` ) ;
152+
153+ sandbox . evalJs ( `console.log('I remove module')` ) ;
157154 sandbox . evalJs ( code ) ;
158155 } catch ( e ) {
159156 console . groupCollapsed ( e . message ) ;
0 commit comments