File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import { Component } from '@angular/core' ;
22import { ComponentFixture , TestBed } from '@angular/core/testing' ;
33
4- import { HighlightJsModule } from '../src/highlight-js.module' ;
54import { DOCUMENT } from '@angular/common' ;
5+ import { HighlightJsDirective } from 'lib/public-api' ;
66
77describe ( 'Component: ngx-highlight-js' , ( ) => {
88 let fixture : ComponentFixture < any > ;
99 let context : TestComponent ;
1010
1111 beforeEach ( ( ) => {
1212 TestBed . configureTestingModule ( {
13- declarations : [ TestComponent ] ,
14- imports : [ HighlightJsModule ] ,
13+ imports : [ TestComponent ] ,
1514 } ) ;
1615 } ) ;
1716
@@ -47,5 +46,6 @@ describe('Component: ngx-highlight-js', () => {
4746import { Component } from '@angular/core';
4847</textarea>
4948 ` ,
49+ imports : [ HighlightJsDirective ] ,
5050} )
5151class TestComponent { }
You can’t perform that action at this time.
0 commit comments