mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Ban xit and xdescribe use in the future (#4923)
* remove xit test and ban xit and xdescribe use in the future * remove xit test and ban xit and xdescribe use in the future * remove test excluded * remove consecutive blank line
This commit is contained in:
@@ -131,24 +131,6 @@ describe('WebscriptComponent', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xit('HTML response should be displayed', (done) => {
|
||||
component.scriptPath = 'sample/folder/Company%20Home';
|
||||
component.contentType = 'HTML';
|
||||
|
||||
component.ngOnChanges(null).then(() => {
|
||||
fixture.detectChanges();
|
||||
expect(element.querySelector('#webscript-data-HTML').innerHTML)
|
||||
.toBe('<test-element-id><test-elemt-id>');
|
||||
done();
|
||||
});
|
||||
|
||||
jasmine.Ajax.requests.mostRecent().respondWith({
|
||||
status: 200,
|
||||
contentType: 'text/html',
|
||||
responseText: '<test-element-id><test-elemt-id>'
|
||||
});
|
||||
});
|
||||
|
||||
it('datatable response should be displayed', (done) => {
|
||||
// reset MDL handler
|
||||
window['componentHandler'] = null;
|
||||
|
Reference in New Issue
Block a user