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

Grep properly for dangerfile fit/fdescribe (#9230)

Oliver Günther2c465ddacac1
diff --git a/Dangerfile b/Dangerfile
index 89fb8d9cb57..40f01ff9a68 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -1,5 +1,5 @@
# 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
+fail("jasmine fdescribe/fit left in tests") if `grep --include '*.spec.ts' -rP 'fdescribe\(|fit\(' frontend/src/`.length > 1
# Search for modified components not being made OnPush
git.modified_files