This repository was archived by the owner on May 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +74
-0
lines changed Expand file tree Collapse file tree 3 files changed +74
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { async , ComponentFixture , TestBed } from '@angular/core/testing' ;
2
+ import { CounterHeaderComponent } from './counter-header.component' ;
3
+
4
+ describe ( 'CounterHeaderComponent' , ( ) => {
5
+ let component : CounterHeaderComponent ;
6
+ let fixture : ComponentFixture < CounterHeaderComponent > ;
7
+
8
+ beforeEach ( async ( ( ) => {
9
+ TestBed . configureTestingModule ( {
10
+ declarations : [ CounterHeaderComponent ]
11
+ } )
12
+ . compileComponents ( ) ;
13
+ } ) ) ;
14
+
15
+ beforeEach ( ( ) => {
16
+ fixture = TestBed . createComponent ( CounterHeaderComponent ) ;
17
+ component = fixture . componentInstance ;
18
+ } ) ;
19
+
20
+ it ( 'should be created' , ( ) => {
21
+ expect ( component ) . toBeTruthy ( ) ;
22
+ } ) ;
23
+ } ) ;
Original file line number Diff line number Diff line change
1
+ import { async , ComponentFixture , TestBed } from '@angular/core/testing' ;
2
+ import { CountersComponent } from './counters.component' ;
3
+ import { AnalyticsModule } from '../analytics.module' ;
4
+
5
+ describe ( 'CounterComponent' , ( ) => {
6
+ let component : CountersComponent ;
7
+ let fixture : ComponentFixture < CountersComponent > ;
8
+
9
+ beforeEach ( async ( ( ) => {
10
+ TestBed . configureTestingModule ( {
11
+ declarations : [ ] ,
12
+ imports : [ AnalyticsModule ]
13
+ } )
14
+ . compileComponents ( ) ;
15
+ } ) ) ;
16
+
17
+ beforeEach ( ( ) => {
18
+ fixture = TestBed . createComponent ( CountersComponent ) ;
19
+ component = fixture . componentInstance ;
20
+ } ) ;
21
+
22
+ it ( 'should be created' , ( ) => {
23
+ expect ( component ) . toBeTruthy ( ) ;
24
+ } ) ;
25
+ } ) ;
Original file line number Diff line number Diff line change
1
+ import { async , ComponentFixture , TestBed } from '@angular/core/testing' ;
2
+ import { DashboardComponent } from './dashboard.component' ;
3
+ import { BusyModule } from 'tixif-ngx-busy' ;
4
+ import { AnalyticsModule } from '../analytics.module' ;
5
+
6
+ describe ( 'DashboardComponent' , ( ) => {
7
+ let component : DashboardComponent ;
8
+ let fixture : ComponentFixture < DashboardComponent > ;
9
+
10
+ beforeEach ( async ( ( ) => {
11
+ TestBed . configureTestingModule ( {
12
+ declarations : [ ] ,
13
+ imports : [ BusyModule , AnalyticsModule ]
14
+ } )
15
+ . compileComponents ( ) ;
16
+ } ) ) ;
17
+
18
+ beforeEach ( ( ) => {
19
+ fixture = TestBed . createComponent ( DashboardComponent ) ;
20
+ component = fixture . componentInstance ;
21
+ } ) ;
22
+
23
+ it ( 'should be created' , ( ) => {
24
+ expect ( component ) . toBeTruthy ( ) ;
25
+ } ) ;
26
+ } ) ;
You can’t perform that action at this time.
0 commit comments