optimize imports
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
import { AppComponent } from './app.component';
|
||||
import {TestBed} from '@angular/core/testing';
|
||||
import {AppComponent} from './app.component';
|
||||
|
||||
describe('AppComponent', () => {
|
||||
beforeEach(async () => {
|
||||
|
@ -1,12 +1,11 @@
|
||||
import {Component, inject} from '@angular/core';
|
||||
import { RouterOutlet } from '@angular/router';
|
||||
import {MainViewComponent} from './components/main-view/main-view.component';
|
||||
import {ShowService} from './services/show.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
standalone: true,
|
||||
imports: [RouterOutlet, MainViewComponent],
|
||||
imports: [MainViewComponent],
|
||||
templateUrl: './app.component.html',
|
||||
styleUrl: './app.component.css'
|
||||
})
|
||||
|
@ -1,3 +1,3 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import {Routes} from '@angular/router';
|
||||
|
||||
export const routes: Routes = [];
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import {ComponentFixture, TestBed} from '@angular/core/testing';
|
||||
|
||||
import { MainViewComponent } from './main-view.component';
|
||||
import {MainViewComponent} from './main-view.component';
|
||||
|
||||
describe('MainViewComponent', () => {
|
||||
let component: MainViewComponent;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import {ComponentFixture, TestBed} from '@angular/core/testing';
|
||||
|
||||
import { ShowDetailsComponent } from './show-details.component';
|
||||
import {ShowDetailsComponent} from './show-details.component';
|
||||
|
||||
describe('ShowDetailsComponent', () => {
|
||||
let component: ShowDetailsComponent;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import {ComponentFixture, TestBed} from '@angular/core/testing';
|
||||
|
||||
import { ShowFormComponent } from './show-form.component';
|
||||
import {ShowFormComponent} from './show-form.component';
|
||||
|
||||
describe('ShowFormComponent', () => {
|
||||
let component: ShowFormComponent;
|
||||
|
@ -1,8 +1,6 @@
|
||||
import {Component, inject} from '@angular/core';
|
||||
import {ShowService} from '../../services/show.service';
|
||||
import {Show} from '../../model/show';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {Observable} from 'rxjs';
|
||||
import {addDoc, collection, Firestore} from '@angular/fire/firestore';
|
||||
|
||||
@Component({
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import {ComponentFixture, TestBed} from '@angular/core/testing';
|
||||
|
||||
import { ShowListComponent } from './show-list.component';
|
||||
import {ShowListComponent} from './show-list.component';
|
||||
|
||||
describe('ShowListComponent', () => {
|
||||
let component: ShowListComponent;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {Component, EventEmitter, inject, Input, Output} from '@angular/core';
|
||||
import {Component, EventEmitter, inject, Output} from '@angular/core';
|
||||
import {Show} from '../../model/show';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {ShowService} from '../../services/show.service';
|
||||
|
Reference in New Issue
Block a user