mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 04:47:10 +08:00
Fix issues with front-end testing
This commit is contained in:
parent
e5b17089f2
commit
bc0c674603
1 changed files with 4 additions and 2 deletions
|
@ -3,16 +3,18 @@ import {CUSTOM_ELEMENTS_SCHEMA} from '@angular/core';
|
|||
import {RouterTestingModule} from '@angular/router/testing';
|
||||
import {HttpClientTestingModule, HttpTestingController} from '@angular/common/http/testing';
|
||||
|
||||
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
|
||||
|
||||
import {NavbarUiComponent} from './navbar.component';
|
||||
|
||||
describe('NavbarComponent', () => {
|
||||
describe('NavbarUiComponent', () => {
|
||||
let component: NavbarUiComponent;
|
||||
let fixture: ComponentFixture<NavbarUiComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
||||
imports: [RouterTestingModule, HttpClientTestingModule],
|
||||
imports: [RouterTestingModule, HttpClientTestingModule, NgbModule],
|
||||
declarations: [NavbarUiComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue