migrate project
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CreateAutoComponent } from './create-auto.component';
|
||||
|
||||
describe('CreateAutoComponent', () => {
|
||||
let component: CreateAutoComponent;
|
||||
let fixture: ComponentFixture<CreateAutoComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [CreateAutoComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(CreateAutoComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
1
demo/src/app/create-auto/create-auto.html
Normal file
1
demo/src/app/create-auto/create-auto.html
Normal file
@@ -0,0 +1 @@
|
||||
<p>create-auto works!</p>
|
||||
23
demo/src/app/create-auto/create-auto.spec.ts
Normal file
23
demo/src/app/create-auto/create-auto.spec.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CreateAuto } from './create-auto';
|
||||
|
||||
describe('CreateAuto', () => {
|
||||
let component: CreateAuto;
|
||||
let fixture: ComponentFixture<CreateAuto>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [CreateAuto]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(CreateAuto);
|
||||
component = fixture.componentInstance;
|
||||
await fixture.whenStable();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
11
demo/src/app/create-auto/create-auto.ts
Normal file
11
demo/src/app/create-auto/create-auto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-create-auto',
|
||||
imports: [],
|
||||
templateUrl: './create-auto.html',
|
||||
styleUrl: './create-auto.css',
|
||||
})
|
||||
export class CreateAuto {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user