feat: add PrivacyComponent with template, styles, and tests
This commit is contained in:
parent
da38676847
commit
1ab2424710
0
frontend/src/app/page/privacy/privacy.component.css
Normal file
0
frontend/src/app/page/privacy/privacy.component.css
Normal file
1
frontend/src/app/page/privacy/privacy.component.html
Normal file
1
frontend/src/app/page/privacy/privacy.component.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>privacy works!</p>
|
23
frontend/src/app/page/privacy/privacy.component.spec.ts
Normal file
23
frontend/src/app/page/privacy/privacy.component.spec.ts
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { PrivacyComponent } from './privacy.component';
|
||||||
|
|
||||||
|
describe('PrivacyComponent', () => {
|
||||||
|
let component: PrivacyComponent;
|
||||||
|
let fixture: ComponentFixture<PrivacyComponent>;
|
||||||
|
|
||||||
|
beforeEach(async () => {
|
||||||
|
await TestBed.configureTestingModule({
|
||||||
|
imports: [PrivacyComponent]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
|
||||||
|
fixture = TestBed.createComponent(PrivacyComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
11
frontend/src/app/page/privacy/privacy.component.ts
Normal file
11
frontend/src/app/page/privacy/privacy.component.ts
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-privacy',
|
||||||
|
imports: [],
|
||||||
|
templateUrl: './privacy.component.html',
|
||||||
|
styleUrl: './privacy.component.css'
|
||||||
|
})
|
||||||
|
export class PrivacyComponent {
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user