перевел некоторые элементы с primeNG на AngularMaterial, так как в первое случае были баги с айфоном добавил отображение описания в карточке товара, подтянул имя при оформлении заказа, добавил список терминалов при оформлении заказа, по умолчанию показывается активный терминал в disabled=true
24 lines
642 B
TypeScript
24 lines
642 B
TypeScript
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
|
|
import { TerminalListComponent } from './terminal-list.component';
|
|
|
|
describe('TerminalListComponent', () => {
|
|
let component: TerminalListComponent;
|
|
let fixture: ComponentFixture<TerminalListComponent>;
|
|
|
|
beforeEach(async () => {
|
|
await TestBed.configureTestingModule({
|
|
declarations: [ TerminalListComponent ]
|
|
})
|
|
.compileComponents();
|
|
|
|
fixture = TestBed.createComponent(TerminalListComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|