添加基础数据查询路由页面
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
aircraft-type works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { AircraftTypeComponent } from './aircraft-type.component';
|
||||
|
||||
describe('AircraftTypeComponent', () => {
|
||||
let component: AircraftTypeComponent;
|
||||
let fixture: ComponentFixture<AircraftTypeComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ AircraftTypeComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(AircraftTypeComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-aircraft-type',
|
||||
templateUrl: './aircraft-type.component.html',
|
||||
styleUrls: ['./aircraft-type.component.scss']
|
||||
})
|
||||
export class AircraftTypeComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
aircraft works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { AircraftComponent } from './aircraft.component';
|
||||
|
||||
describe('AircraftComponent', () => {
|
||||
let component: AircraftComponent;
|
||||
let fixture: ComponentFixture<AircraftComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ AircraftComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(AircraftComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-aircraft',
|
||||
templateUrl: './aircraft.component.html',
|
||||
styleUrls: ['./aircraft.component.scss']
|
||||
})
|
||||
export class AircraftComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
airline works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { AirlineComponent } from './airline.component';
|
||||
|
||||
describe('AirlineComponent', () => {
|
||||
let component: AirlineComponent;
|
||||
let fixture: ComponentFixture<AirlineComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ AirlineComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(AirlineComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-airline',
|
||||
templateUrl: './airline.component.html',
|
||||
styleUrls: ['./airline.component.scss']
|
||||
})
|
||||
export class AirlineComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
airport works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { AirportComponent } from './airport.component';
|
||||
|
||||
describe('AirportComponent', () => {
|
||||
let component: AirportComponent;
|
||||
let fixture: ComponentFixture<AirportComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ AirportComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(AirportComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-airport',
|
||||
templateUrl: './airport.component.html',
|
||||
styleUrls: ['./airport.component.scss']
|
||||
})
|
||||
export class AirportComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,11 +2,78 @@ import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
|
||||
import { BasicDataComponent } from './basic-data.component';
|
||||
import { CheckinGroupComponent } from './checkin-group/checkin-group.component';
|
||||
import { GateComponent } from './gate/gate.component';
|
||||
import { TerminalComponent } from './terminal/terminal.component';
|
||||
import { ChutComponent } from './chut/chut.component';
|
||||
import { StandComponent } from './stand/stand.component';
|
||||
import { CarouselComponent } from './carousel/carousel.component';
|
||||
import { CheckinDeskComponent } from './checkin-desk/checkin-desk.component';
|
||||
import { AirportComponent } from './airport/airport.component';
|
||||
import { CityComponent } from './city/city.component';
|
||||
import { AircraftTypeComponent } from './aircraft-type/aircraft-type.component';
|
||||
import { AircraftComponent } from './aircraft/aircraft.component';
|
||||
import { TerminalAreaComponent } from './terminal-area/terminal-area.component';
|
||||
import { AirlineComponent } from './airline/airline.component';
|
||||
|
||||
const basicDataRoutes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: BasicDataComponent
|
||||
component: BasicDataComponent,
|
||||
children:[
|
||||
{
|
||||
path:'checkingroup',
|
||||
component:CheckinGroupComponent
|
||||
},
|
||||
{
|
||||
path:'gate',
|
||||
component:GateComponent
|
||||
},
|
||||
{
|
||||
path:'terminal',
|
||||
component:TerminalComponent,
|
||||
},
|
||||
{
|
||||
path:'chut',
|
||||
component:ChutComponent
|
||||
},
|
||||
{
|
||||
path:'stand',
|
||||
component:StandComponent
|
||||
},
|
||||
{
|
||||
path:'carousel',
|
||||
component:CarouselComponent
|
||||
},
|
||||
{
|
||||
path:'checkindesk',
|
||||
component:CheckinDeskComponent
|
||||
},
|
||||
{
|
||||
path:'airport',
|
||||
component:AirportComponent
|
||||
},
|
||||
{
|
||||
path:'city',
|
||||
component:CityComponent
|
||||
},
|
||||
{
|
||||
path:'aircrafttype',
|
||||
component:AircraftTypeComponent
|
||||
},
|
||||
{
|
||||
path:'aircraft',
|
||||
component:AircraftComponent
|
||||
},
|
||||
{
|
||||
path:'terminalarea',
|
||||
component:TerminalAreaComponent
|
||||
},
|
||||
{
|
||||
path:'airline',
|
||||
component:AirlineComponent
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
<p>
|
||||
basic-data works!
|
||||
</p>
|
||||
@@ -2,8 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-basic-data',
|
||||
templateUrl: './basic-data.component.html',
|
||||
styleUrls: ['./basic-data.component.scss']
|
||||
template: '<router-outlet></router-outlet>'
|
||||
})
|
||||
export class BasicDataComponent implements OnInit {
|
||||
|
||||
|
||||
@@ -2,12 +2,37 @@ import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { BasicDataComponent } from './basic-data.component';
|
||||
import { BasicDataRouting } from './basic-data-routing.module';
|
||||
import { CheckinGroupComponent } from './checkin-group/checkin-group.component';
|
||||
import { GateComponent } from './gate/gate.component';
|
||||
import { TerminalComponent } from './terminal/terminal.component';
|
||||
import { ChutComponent } from './chut/chut.component';
|
||||
import { StandComponent } from './stand/stand.component';
|
||||
import { CarouselComponent } from './carousel/carousel.component';
|
||||
import { CheckinDeskComponent } from './checkin-desk/checkin-desk.component';
|
||||
import { AirportComponent } from './airport/airport.component';
|
||||
import { CityComponent } from './city/city.component';
|
||||
import { AircraftTypeComponent } from './aircraft-type/aircraft-type.component';
|
||||
import { AircraftComponent } from './aircraft/aircraft.component';
|
||||
import { TerminalAreaComponent } from './terminal-area/terminal-area.component';
|
||||
import { AirlineComponent } from './airline/airline.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
BasicDataRouting
|
||||
],
|
||||
declarations: [BasicDataComponent]
|
||||
declarations: [
|
||||
BasicDataComponent,
|
||||
CheckinGroupComponent,
|
||||
GateComponent, TerminalComponent,
|
||||
ChutComponent, StandComponent,
|
||||
CarouselComponent,
|
||||
CheckinDeskComponent,
|
||||
AirportComponent,
|
||||
CityComponent,
|
||||
AircraftTypeComponent,
|
||||
AircraftComponent,
|
||||
TerminalAreaComponent,
|
||||
AirlineComponent]
|
||||
})
|
||||
export class BasicDataModule { }
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
carousel works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CarouselComponent } from './carousel.component';
|
||||
|
||||
describe('CarouselComponent', () => {
|
||||
let component: CarouselComponent;
|
||||
let fixture: ComponentFixture<CarouselComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ CarouselComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CarouselComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-carousel',
|
||||
templateUrl: './carousel.component.html',
|
||||
styleUrls: ['./carousel.component.scss']
|
||||
})
|
||||
export class CarouselComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
checkin-desk works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CheckinDeskComponent } from './checkin-desk.component';
|
||||
|
||||
describe('CheckinDeskComponent', () => {
|
||||
let component: CheckinDeskComponent;
|
||||
let fixture: ComponentFixture<CheckinDeskComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ CheckinDeskComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CheckinDeskComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-checkin-desk',
|
||||
templateUrl: './checkin-desk.component.html',
|
||||
styleUrls: ['./checkin-desk.component.scss']
|
||||
})
|
||||
export class CheckinDeskComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
checkin-group works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CheckinGroupComponent } from './checkin-group.component';
|
||||
|
||||
describe('CheckinGroupComponent', () => {
|
||||
let component: CheckinGroupComponent;
|
||||
let fixture: ComponentFixture<CheckinGroupComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ CheckinGroupComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CheckinGroupComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-checkin-group',
|
||||
templateUrl: './checkin-group.component.html',
|
||||
styleUrls: ['./checkin-group.component.scss']
|
||||
})
|
||||
export class CheckinGroupComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
chut works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ChutComponent } from './chut.component';
|
||||
|
||||
describe('ChutComponent', () => {
|
||||
let component: ChutComponent;
|
||||
let fixture: ComponentFixture<ChutComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ ChutComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(ChutComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-chut',
|
||||
templateUrl: './chut.component.html',
|
||||
styleUrls: ['./chut.component.scss']
|
||||
})
|
||||
export class ChutComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
city works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CityComponent } from './city.component';
|
||||
|
||||
describe('CityComponent', () => {
|
||||
let component: CityComponent;
|
||||
let fixture: ComponentFixture<CityComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ CityComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CityComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-city',
|
||||
templateUrl: './city.component.html',
|
||||
styleUrls: ['./city.component.scss']
|
||||
})
|
||||
export class CityComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
gate works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { GateComponent } from './gate.component';
|
||||
|
||||
describe('GateComponent', () => {
|
||||
let component: GateComponent;
|
||||
let fixture: ComponentFixture<GateComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ GateComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(GateComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-gate',
|
||||
templateUrl: './gate.component.html',
|
||||
styleUrls: ['./gate.component.scss']
|
||||
})
|
||||
export class GateComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
stand works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { StandComponent } from './stand.component';
|
||||
|
||||
describe('StandComponent', () => {
|
||||
let component: StandComponent;
|
||||
let fixture: ComponentFixture<StandComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ StandComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(StandComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-stand',
|
||||
templateUrl: './stand.component.html',
|
||||
styleUrls: ['./stand.component.scss']
|
||||
})
|
||||
export class StandComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
terminal-area works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { TerminalAreaComponent } from './terminal-area.component';
|
||||
|
||||
describe('TerminalAreaComponent', () => {
|
||||
let component: TerminalAreaComponent;
|
||||
let fixture: ComponentFixture<TerminalAreaComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ TerminalAreaComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(TerminalAreaComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-terminal-area',
|
||||
templateUrl: './terminal-area.component.html',
|
||||
styleUrls: ['./terminal-area.component.scss']
|
||||
})
|
||||
export class TerminalAreaComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
terminal works!
|
||||
</p>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { TerminalComponent } from './terminal.component';
|
||||
|
||||
describe('TerminalComponent', () => {
|
||||
let component: TerminalComponent;
|
||||
let fixture: ComponentFixture<TerminalComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ TerminalComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(TerminalComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-terminal',
|
||||
templateUrl: './terminal.component.html',
|
||||
styleUrls: ['./terminal.component.scss']
|
||||
})
|
||||
export class TerminalComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user