clean up and lint files
This commit is contained in:
@@ -6,13 +6,11 @@ describe('BrandComponent', () => {
|
||||
let component: BrandComponent;
|
||||
let fixture: ComponentFixture<BrandComponent>;
|
||||
|
||||
beforeEach(
|
||||
waitForAsync(() => {
|
||||
void TestBed.configureTestingModule({
|
||||
imports: [BrandComponent],
|
||||
}).compileComponents();
|
||||
}),
|
||||
);
|
||||
beforeEach(waitForAsync(() => {
|
||||
void TestBed.configureTestingModule({
|
||||
imports: [BrandComponent],
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(BrandComponent);
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
import {Component} from '@angular/core';
|
||||
import { LogoComponent } from '../../widget-modules/components/logo/logo.component';
|
||||
import {LogoComponent} from '../../widget-modules/components/logo/logo.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-brand',
|
||||
templateUrl: './brand.component.html',
|
||||
styleUrls: ['./brand.component.less'],
|
||||
imports: [LogoComponent],
|
||||
selector: 'app-brand',
|
||||
templateUrl: './brand.component.html',
|
||||
styleUrls: ['./brand.component.less'],
|
||||
imports: [LogoComponent],
|
||||
})
|
||||
export class BrandComponent {
|
||||
}
|
||||
export class BrandComponent {}
|
||||
|
||||
@@ -18,7 +18,6 @@ const routes: Routes = [
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [CommonModule, RouterModule.forChild(routes), BrandComponent, NewUserComponent],
|
||||
imports: [CommonModule, RouterModule.forChild(routes), BrandComponent, NewUserComponent],
|
||||
})
|
||||
export class BrandModule {
|
||||
}
|
||||
export class BrandModule {}
|
||||
|
||||
@@ -6,13 +6,11 @@ describe('NewUserComponent', () => {
|
||||
let component: NewUserComponent;
|
||||
let fixture: ComponentFixture<NewUserComponent>;
|
||||
|
||||
beforeEach(
|
||||
waitForAsync(() => {
|
||||
void TestBed.configureTestingModule({
|
||||
imports: [NewUserComponent],
|
||||
}).compileComponents();
|
||||
}),
|
||||
);
|
||||
beforeEach(waitForAsync(() => {
|
||||
void TestBed.configureTestingModule({
|
||||
imports: [NewUserComponent],
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(NewUserComponent);
|
||||
|
||||
@@ -2,18 +2,14 @@ import {Component} from '@angular/core';
|
||||
import {UserService} from '../../../services/user/user.service';
|
||||
import {Observable} from 'rxjs';
|
||||
import {User} from '../../../services/user/user';
|
||||
import { BrandComponent } from '../brand.component';
|
||||
import { NgIf, AsyncPipe } from '@angular/common';
|
||||
import {BrandComponent} from '../brand.component';
|
||||
import {AsyncPipe, NgIf} from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-new-user',
|
||||
templateUrl: './new-user.component.html',
|
||||
styleUrls: ['./new-user.component.less'],
|
||||
imports: [
|
||||
BrandComponent,
|
||||
NgIf,
|
||||
AsyncPipe,
|
||||
],
|
||||
selector: 'app-new-user',
|
||||
templateUrl: './new-user.component.html',
|
||||
styleUrls: ['./new-user.component.less'],
|
||||
imports: [BrandComponent, NgIf, AsyncPipe],
|
||||
})
|
||||
export class NewUserComponent {
|
||||
public user$: Observable<User | null> | null = null;
|
||||
|
||||
Reference in New Issue
Block a user