Skip to content

Commit 3f5cf18

Browse files
author
Mark Macneil
committed
post in progress
1 parent aa0d1b5 commit 3f5cf18

File tree

5 files changed

+45
-1
lines changed

5 files changed

+45
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
3+
import { RegistrationFormComponent } from './registration-form/registration-form.component';
34

45
@NgModule({
56
imports: [
67
CommonModule
78
],
8-
declarations: []
9+
declarations: [RegistrationFormComponent]
910
})
1011
export class AccountModule { }
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<p>
2+
registration-form works!
3+
</p>

src/dotnetGigs/src/app/account/registration-form/registration-form.component.scss

Whitespace-only changes.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2+
3+
import { RegistrationFormComponent } from './registration-form.component';
4+
5+
describe('RegistrationFormComponent', () => {
6+
let component: RegistrationFormComponent;
7+
let fixture: ComponentFixture<RegistrationFormComponent>;
8+
9+
beforeEach(async(() => {
10+
TestBed.configureTestingModule({
11+
declarations: [ RegistrationFormComponent ]
12+
})
13+
.compileComponents();
14+
}));
15+
16+
beforeEach(() => {
17+
fixture = TestBed.createComponent(RegistrationFormComponent);
18+
component = fixture.componentInstance;
19+
fixture.detectChanges();
20+
});
21+
22+
it('should create', () => {
23+
expect(component).toBeTruthy();
24+
});
25+
});
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Component, OnInit } from '@angular/core';
2+
3+
@Component({
4+
selector: 'app-registration-form',
5+
templateUrl: './registration-form.component.html',
6+
styleUrls: ['./registration-form.component.scss']
7+
})
8+
export class RegistrationFormComponent implements OnInit {
9+
10+
constructor() { }
11+
12+
ngOnInit() {
13+
}
14+
15+
}

0 commit comments

Comments
 (0)