spartacus-mcp-server
Version:
MCP server for SAP Spartacus development tools - Generate components, services, and models following Spartacus conventions
32 lines (25 loc) • 893 B
text/typescript
/*
* 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 { ProductRatingComponent } from './product-rating.component';
describe('ProductRatingComponent', () => {
let component: ProductRatingComponent;
let fixture: ComponentFixture<ProductRatingComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ProductRatingComponent],
imports: [I18nTestingModule],
}).compileComponents();
fixture = TestBed.createComponent(ProductRatingComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
// TODO: Add more specific tests
});