generated from nhcarrigan/template
feat: components
This commit is contained in:
@@ -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 { Staff } from "./staff";
|
||||
|
||||
describe("staff", () => {
|
||||
let component: Staff;
|
||||
let fixture: ComponentFixture<Staff>;
|
||||
|
||||
beforeEach(async() => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ Staff ],
|
||||
}).
|
||||
compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(Staff);
|
||||
component = fixture.componentInstance;
|
||||
await fixture.whenStable();
|
||||
});
|
||||
|
||||
it("should create", () => {
|
||||
expect.assertions(1);
|
||||
expect(component, "did not compile").toBeTruthy();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user