generated from nhcarrigan/template
feat: components
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<p>about works!</p>
|
||||
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* @copyright NHCarrigan
|
||||
* @license Naomi's Public License
|
||||
* @author Naomi Carrigan
|
||||
*/
|
||||
import { type ComponentFixture, TestBed } from "@angular/core/testing";
|
||||
import { describe, beforeEach, it, expect } from "vitest";
|
||||
import { About } from "./about";
|
||||
|
||||
describe("about", () => {
|
||||
let component: About;
|
||||
let fixture: ComponentFixture<About>;
|
||||
|
||||
beforeEach(async() => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ About ],
|
||||
}).
|
||||
compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(About);
|
||||
component = fixture.componentInstance;
|
||||
await fixture.whenStable();
|
||||
});
|
||||
|
||||
it("should create", () => {
|
||||
expect.assertions(1);
|
||||
expect(component, "did not compile").toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @copyright NHCarrigan
|
||||
* @license Naomi's Public License
|
||||
* @author Naomi Carrigan
|
||||
*/
|
||||
import { Component } from "@angular/core";
|
||||
|
||||
/**
|
||||
* Renders the about page.
|
||||
*/
|
||||
@Component({
|
||||
imports: [],
|
||||
selector: "app-about",
|
||||
styleUrl: "./about.css",
|
||||
templateUrl: "./about.html",
|
||||
})
|
||||
export class About {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user