mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-31 08:25:35 +00:00
Unit tests updated
This commit is contained in:
parent
0d89b7df11
commit
70f7c54de0
@ -5,7 +5,8 @@ import {
|
||||
MatFormFieldModule,
|
||||
MatDialogRef,
|
||||
MAT_DIALOG_DATA,
|
||||
MatSnackBarModule
|
||||
MatSnackBarModule,
|
||||
MatTabsModule
|
||||
} from '@angular/material';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ToasterService } from '../../../../services/toaster.service';
|
||||
@ -36,7 +37,8 @@ describe('ConfigEditorDialogComponent', () => {
|
||||
MatFormFieldModule,
|
||||
NoopAnimationsModule,
|
||||
MatSnackBarModule,
|
||||
FormsModule
|
||||
FormsModule,
|
||||
MatTabsModule
|
||||
],
|
||||
providers: [
|
||||
{ provide: MatDialogRef, useValue: dialogRef },
|
||||
|
@ -119,7 +119,7 @@ export class MockedNodeService {
|
||||
return of(node);
|
||||
}
|
||||
|
||||
getConfiguration(server: Server, node: Node) {
|
||||
getStartupConfiguration(server: Server, node: Node) {
|
||||
return of('sample config');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user