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