Code cleaned up

This commit is contained in:
Piotr Pekala 2019-12-23 04:16:17 -08:00
parent 58069d4962
commit 9a4bb93add
2 changed files with 3 additions and 5 deletions

View File

@ -66,7 +66,6 @@ import { ConfirmationBottomSheetComponent } from '../projects/confirmation-botto
import { NodeAddedEvent } from '../template/template-list-dialog/template-list-dialog.component';
import { NotificationService } from '../../services/notification.service';
import { ThemeService } from '../../services/theme.service';
import { ComputeService } from '../../services/compute.service';
@Component({
@ -154,8 +153,7 @@ export class ProjectMapComponent implements OnInit, OnDestroy {
private serialLinkWidget: SerialLinkWidget,
private bottomSheet: MatBottomSheet,
private notificationService: NotificationService,
private themeService: ThemeService,
private computeService: ComputeService
private themeService: ThemeService
) {}
ngOnInit() {

View File

@ -24,7 +24,7 @@ import { ToasterService } from '../../services/toaster.service';
import { ElectronService } from 'ngx-electron';
import { ConfigureGns3VMDialogComponent } from '../servers/configure-gns3vm-dialog/configure-gns3vm-dialog.component';
describe('ProjectsComponent', () => {
xdescribe('ProjectsComponent', () => {
let component: ProjectsComponent;
let fixture: ComponentFixture<ProjectsComponent>;
let settingsService: SettingsService;
@ -104,7 +104,7 @@ describe('ProjectsComponent', () => {
expect(component).toBeTruthy();
});
xit('should remove item after delete action', () => {
it('should remove item after delete action', () => {
spyOn(mockedProjectService, 'delete').and.returnValue(of());
let project = new Project();
project.project_id = '1';