src/app/core/ui/primary-action/primary-action.component.spec.ts
import { ComponentFixture, TestBed, waitForAsync } from "@angular/core/testing";
import { PrimaryActionComponent } from "./primary-action.component";
import { MockedTestingModule } from "../../../utils/mocked-testing.module";
describe("PrimaryActionComponent", () => {
let component: PrimaryActionComponent;
let fixture: ComponentFixture<PrimaryActionComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [PrimaryActionComponent, MockedTestingModule.withState()],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(PrimaryActionComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it("should create", () => {
expect(component).toBeTruthy();
});
});