Skip to content

Commit

Permalink
Scaffold state service #758
Browse files Browse the repository at this point in the history
  • Loading branch information
caebr committed Feb 6, 2025
1 parent 56ac3cb commit 8811dda
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { ChangeDetectionStrategy, Component } from "@angular/core";
import { RouterOutlet } from "@angular/router";
import { ImportSubscriptionDetailsStateService } from "../../services/import-subscription-details-state.service";

@Component({
selector: "bkd-import-subscription-details",
imports: [RouterOutlet],
templateUrl: "./import-subscription-details.component.html",
styleUrl: "./import-subscription-details.component.scss",
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [ImportSubscriptionDetailsStateService],
})
export class ImportSubscriptionDetailsComponent {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { TestBed } from "@angular/core/testing";
import { buildTestModuleMetadata } from "../../../spec-helpers";
import { ImportSubscriptionDetailsStateService } from "./import-subscription-details-state.service";

describe("ImportSubscriptionDetailsStateService", () => {
let service: ImportSubscriptionDetailsStateService;

beforeEach(() => {
TestBed.configureTestingModule(
buildTestModuleMetadata({
providers: [ImportSubscriptionDetailsStateService],
}),
);
service = TestBed.inject(ImportSubscriptionDetailsStateService);
});

it("should be created", () => {
expect(service).toBeTruthy();
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { Injectable } from "@angular/core";

@Injectable()
export class ImportSubscriptionDetailsStateService {
constructor() {}
}

0 comments on commit 8811dda

Please sign in to comment.