File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ import { BrowserAnimationsModule } from "@angular/platform-browser/animations" ;
2+ import { ComponentFixture , TestBed } from "@angular/core/testing" ;
3+ import { StaticIconModule } from "../icon/static-icon.module" ;
4+
5+ import { CodeSnippet } from "./code-snippet.component" ;
6+
7+ describe ( "CodeSnippet" , ( ) => {
8+ let component : CodeSnippet ;
9+ let fixture : ComponentFixture < CodeSnippet > ;
10+
11+ beforeEach ( ( ) => {
12+ TestBed . configureTestingModule ( {
13+ declarations : [ CodeSnippet ] ,
14+ imports : [ BrowserAnimationsModule , StaticIconModule ] ,
15+ providers : [ ]
16+ } ) ;
17+
18+ fixture = TestBed . createComponent ( CodeSnippet ) ;
19+ component = fixture . componentInstance ;
20+ } ) ;
21+
22+ it ( "should work" , ( ) => {
23+ expect ( component instanceof CodeSnippet ) . toBe ( true ) ;
24+ } ) ;
25+ } ) ;
You can’t perform that action at this time.
0 commit comments