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:
Eugenio Romano
2019-07-12 15:04:53 +01:00
committed by GitHub
parent 07213fac3a
commit b28a53afe7
28 changed files with 7 additions and 893 deletions

View File

@@ -387,23 +387,6 @@ describe('StartProcessCloudComponent', () => {
expect(component.processDefinitionList).toBe(fakeProcessDefinitions);
});
xit('should NOT filter processes in the select list if input is empty', fakeAsync(() => {
component.processDefinitionList = fakeProcessDefinitions;
component.ngOnInit();
component.ngOnChanges({ appName: change });
fixture.detectChanges();
const el = fixture.nativeElement.querySelector('#processDefinitionName');
el.value = '';
el.dispatchEvent(new Event('keyup'));
el.dispatchEvent(new Event('input'));
fixture.detectChanges();
expect(component.processDefinition.value).toEqual('', 'processDefinition value should be the one from input');
tick(3000);
expect(component.filteredProcesses.length).toEqual(fakeProcessDefinitions.length);
}));
it('should display the matching results in the dropdown as the user types down', fakeAsync(() => {
component.processDefinitionList = fakeProcessDefinitions;
component.ngOnInit();

View File

@@ -1,30 +0,0 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { StartProcessCloudModule } from './start-process-cloud.module';
describe('StartProcessCloudModule', () => {
let startProcessCloudModule: StartProcessCloudModule;
beforeEach(() => {
startProcessCloudModule = new StartProcessCloudModule();
});
xit('should create an instance', () => {
expect(startProcessCloudModule).toBeTruthy();
});
});