UNPKG

spartacus-mcp-server

Version:

MCP server for SAP Spartacus development tools - Generate components, services, and models following Spartacus conventions

32 lines (25 loc) 872 B
/* * SPDX-FileCopyrightText: 2025 SAP Spartacus team <spartacus-team@sap.com> * * SPDX-License-Identifier: Apache-2.0 */ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { I18nTestingModule } from '@spartacus/core'; import { CustomCartComponent } from './custom-cart.component'; describe('CustomCartComponent', () => { let component: CustomCartComponent; let fixture: ComponentFixture<CustomCartComponent>; beforeEach(async () => { await TestBed.configureTestingModule({ declarations: [CustomCartComponent], imports: [I18nTestingModule], }).compileComponents(); fixture = TestBed.createComponent(CustomCartComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); // TODO: Add more specific tests });