- Updated application.properties for local database configuration. - Introduced DateTimeHelper for timestamp parsing. - Added MyAIImageModel and MyImageOptions for AI image processing. - Enhanced Tutorial model to include created and modified timestamps. - Implemented tutorial editing component with improved UI and functionality. - Updated user API service to handle tutorial retrieval and updates. - Refactored tutorials list component to support selection and batch deletion.
24 lines
635 B
TypeScript
24 lines
635 B
TypeScript
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
|
|
import { TutorialEditComponent } from './tutorial-edit.component';
|
|
|
|
describe('TutorialEditComponent', () => {
|
|
let component: TutorialEditComponent;
|
|
let fixture: ComponentFixture<TutorialEditComponent>;
|
|
|
|
beforeEach(async () => {
|
|
await TestBed.configureTestingModule({
|
|
imports: [TutorialEditComponent]
|
|
})
|
|
.compileComponents();
|
|
|
|
fixture = TestBed.createComponent(TutorialEditComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|