Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix found jasmine issue

Oliver Günther2f2c9b3a2504
diff --git a/Dangerfile b/Dangerfile
index a5ae5f454cb..58647c8b6cc 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -1,6 +1,3 @@
-# Sometimes it's a README fix, or something like that - which isn't relevant for
-# including in a project's CHANGELOG for example
-declared_trivial = github.pr_title.include? "#trivial"
-
+# Fail if jasmine specs contain fdescribe or fit
fail("jasmine fdescribe left in tests") if `grep --include '*.spec.ts' -rP 'fdescribe|fit' frontend/src/`.length > 1
diff --git a/frontend/src/app/modules/work_packages/routing/wp-view-base/view-services/wp-view-hierarchy-indentation.service.spec.ts b/frontend/src/app/modules/work_packages/routing/wp-view-base/view-services/wp-view-hierarchy-indentation.service.spec.ts
index 9da6c68e1ae..33f7781daea 100644
--- a/frontend/src/app/modules/work_packages/routing/wp-view-base/view-services/wp-view-hierarchy-indentation.service.spec.ts
+++ b/frontend/src/app/modules/work_packages/routing/wp-view-base/view-services/wp-view-hierarchy-indentation.service.spec.ts
@@ -41,7 +41,7 @@ import {WorkPackageViewHierarchyIdentationService} from "core-app/modules/work_p
import SpyObj = jasmine.SpyObj;
import {WorkPackageResource} from "core-app/modules/hal/resources/work-package-resource";
-fdescribe('WorkPackageViewIndentation service', function() {
+describe('WorkPackageViewIndentation service', function() {
let service:WorkPackageViewHierarchyIdentationService;
let states:States;
let querySpace:IsolatedQuerySpace;