mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-02-03 04:13:36 +00:00
Stubs out Diagram component.
This commit is contained in:
parent
6fc6fcebba
commit
d3401d8d9d
@ -3,10 +3,12 @@ import { NgModule } from '@angular/core';
|
|||||||
|
|
||||||
import { AppRoutingModule } from './app-routing.module';
|
import { AppRoutingModule } from './app-routing.module';
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
|
import { DiagramComponent } from './diagram/diagram.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
AppComponent
|
AppComponent,
|
||||||
|
DiagramComponent
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
BrowserModule,
|
BrowserModule,
|
||||||
|
1
src/app/diagram/diagram.component.html
Normal file
1
src/app/diagram/diagram.component.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>diagram works!</p>
|
0
src/app/diagram/diagram.component.scss
Normal file
0
src/app/diagram/diagram.component.scss
Normal file
25
src/app/diagram/diagram.component.spec.ts
Normal file
25
src/app/diagram/diagram.component.spec.ts
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { DiagramComponent } from './diagram.component';
|
||||||
|
|
||||||
|
describe('DiagramComponent', () => {
|
||||||
|
let component: DiagramComponent;
|
||||||
|
let fixture: ComponentFixture<DiagramComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ DiagramComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(DiagramComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
15
src/app/diagram/diagram.component.ts
Normal file
15
src/app/diagram/diagram.component.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-diagram',
|
||||||
|
templateUrl: './diagram.component.html',
|
||||||
|
styleUrls: ['./diagram.component.scss']
|
||||||
|
})
|
||||||
|
export class DiagramComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user