mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-19 04:57:51 +00:00
Code cleaned up
This commit is contained in:
parent
58069d4962
commit
9a4bb93add
@ -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() {
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user