Grep properly for dangerfile fit/fdescribe (#9230)

This commit is contained in:
Oliver Günther
2021-05-06 09:42:50 +02:00
committed by GitHub
parent 64a6a4501b
commit 2c465ddaca
+1 -1
View File
@@ -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