blob: bf5f7f24283b1d7a84126b8cc91b216d543deedd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SQLValidateErrorDialogComponent } from './sql-validate-error-dialog.component';
describe('ValidateErrorComponent', () => {
let component: SQLValidateErrorDialogComponent;
let fixture: ComponentFixture<SQLValidateErrorDialogComponent>;
let tableobj: any=JSON.stringify({"errormessage":"DummyError","stacktrace":"trace"})
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ SQLValidateErrorDialogComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(SQLValidateErrorDialogComponent);
component = fixture.componentInstance;
component.tableObj=tableobj;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
|